Re: adding Carrol O'Conner in a form

From: Date: Sun, 01 Jul 2001 06:13:35 +0000
Subject: Re: adding Carrol O'Conner in a form
References: 1  Groups: php.db 
Request: Send a blank email to php-db+get-9996@lists.php.net to get a copy of this message
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 >

« previous php.db (#9996) next »