Re: [PHP4BETA] re:ereg_replace
| From: | Joseph H Blythe | Date: | Wed, 15 Mar 2000 02:30:07 +0000 |
| Subject: | Re: [PHP4BETA] re:ereg_replace | ||
| References: | 1 | Groups: | php.version4 |
| Request: | Send a blank email to php-version4+get-12129@lists.php.net to get a copy of this message | ||
PHP Developers List wrote:
> You have to escape the quote. Wrap rawurlencode() around that variable
> when you are populating the hidden form field and see what happens.
>
Hmm this is strange, lets say the string entered in the first field is : This is
a test'This is another test
rawurlencoded it looks like : This is a test%2C%27This is another test
and then rawurldecoded it looks like : This is a test\'This is another test
when I pass it to the next page( via the hidden field ) it looks : This is a
test\\
I dont get it :(
Joseph Blythe
mailto:joe.blythe@binarylogic.com.au