Re: urlencoding.
| From: | Chris W | Date: | Wed, 31 Dec 2003 19:32:28 +0000 |
| Subject: | Re: urlencoding. | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-173577@lists.php.net to get a copy of this message | ||
I don't know why I didn't look at the html source before I posted that question. The source looks like this
VALUE=""jhgfhjf""
which tells why the field is showing blank. So now the question is what to do about it. I guess htmlspecialchars will take care of that?
Thanks for hint on sessions, I have a feeling that is exactly what I want to use for this type of thing.
Matt Matijevich wrote:
[snip] My problem is that any field that contains a double quote, all data after the first double quote is missing from the form field. When I look at the long URL I do see a %22 where the " are supposed to be, and all other data is there too. [/snip] Take a look at the html source. What is printed out in the form field in the source? I think you might want to take a look at sessions so you dont have to pass all the info back to the page in the url http://www.php.net/session