Re: Problem WITH AddSlashes
| From: | Johan Hanson | Date: | Mon, 21 Aug 2000 12:25:53 +0000 |
| Subject: | Re: Problem WITH AddSlashes | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-2208@lists.php.net to get a copy of this message | ||
Enrico Comini wrote:
>
> 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 \.
Have you tried urlencode(addslashes($note))?
--
/ Johan
-- johan@tiq.com -- http://www.obsession.se/johan/ --