You may want to use stripslashes($name) in there instead of just $name.

Doug

At 09:18 PM 6/30/01 -0700, Ken Sommers wrote:
>HI,
>IF i add my name as Carol O'Conner in a form and Echo (PHP 4.06 on win 95)
it back I see 
>
>Carol O\'Conner 
>
  ... snip ...
>
>I am already using:
>
> <?php echo(htmlspecialchars ($name, ENT_QUOTES)); ?>
>
>Thanks for the help,
>
>ken
>


-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to