Jun 18 at 12:29pm, Jay Blanchard wrote: > [snip] > I have data with "something" in it and when I pull that data and dump it > into an HTML form I am losing everything that is after the first " . > Has anyone encountered this before, and have a way to patch it? > [/snip] > > Yes, we have all encountered it. You need to escape the " character and > other characters as well. Start here > > http://www.php.net/addslashes > > The manual is your friend
Doesn't help terribly much when putting it into HTML (see Chris' post)... addslashes() is good for database insertions, but for HTML probably are looking for something like http://www.php.net/htmlentities -- Kelly Hallman // Ultrafancy -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php