Re: Re: How to escape " in hidden field?
| From: | Martin Thoma | Date: | Mon, 02 Sep 2002 11:19:24 +0000 |
| Subject: | Re: Re: How to escape " in hidden field? | ||
| References: | 1 2 3 4 5 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-114904@lists.php.net to get a copy of this message | ||
> Hi,
> Its really stupid to use that command because there is not any function
> to come back to the real way. You should just addslashes() to it then remove
> them.
Hi Nicos,
unfortunalty, it doesn't work to use stripslashes: When using:
<INPUT TYPE="HIDDEN" VALUE="Hello \"world\""
NAME="Message">
(which is the same the stripslashes would produce), the field gets the value
"Hello ".
Martin