Problem WITH AddSlashes
| From: | Enrico Comini | Date: | Mon, 21 Aug 2000 10:28:12 +0000 |
| Subject: | Problem WITH AddSlashes | ||
| Groups: | php.db | ||
| Request: | Send a blank email to php-db+get-2205@lists.php.net to get a copy of this message | ||
With php If I have to pass a field with a form I use
ECHO "<form method=post action=\"checkout.php3\">
<input type=hidden name=\"note\"
value=\"".AddSlashes($note)."\">
<input type=submit value=\"Press to reinsert\">";
Is impossible to pass a string like $note if contains ' " or \.