RE: [PHP] " in data
| From: | Jay Blanchard | Date: | Fri, 18 Jun 2004 17:29:03 +0000 |
| Subject: | RE: [PHP] " in data | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-188594@lists.php.net to get a copy of this message | ||
[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