Justtechjobs.com Find a programming school near you






Online Campus Both


php-db | 2001062

Re: [PHP-DB] adding Carrol O'Conner in a form From: Doug Semig (dougslist <email protected>)
Date: 07/01/01

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: php-db-unsubscribe <email protected>
For additional commands, e-mail: php-db-help <email protected>
To contact the list administrators, e-mail: php-list-admin <email protected>