Re: " appended with \
| From: | James Holloway | Date: | Fri, 04 May 2001 12:32:04 +0000 |
| Subject: | Re: " appended with \ | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-51404@lists.php.net to get a copy of this message | ||
Magnus,
$string = stripslashes($string);
http://www.php.net/manual/en/function.stripslashes.php
James.
""magnus lawrie"" <m.lawrie@berlin.de> wrote in message
news:9cu11s$6k1$1@toye.p.sourceforge.net...
> I am using a form to test posting a variable. If my variable looks like
this
> in script post_var.php3 :
>
> "stringinaaform"
>
> then it comes out like this in recieve.php3 :
>
> \"stringinaaform\"
>
> why? thanks in advance.
>
>
>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
> For additional commands, e-mail: php-general-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
>