Re: w3c-compliant form-action parameters
| From: | Chris Shiflett | Date: | Fri, 24 Oct 2003 19:12:06 +0000 |
| Subject: | Re: w3c-compliant form-action parameters | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-167479@lists.php.net to get a copy of this message | ||
--- Timo Boettcher <spida@gmx.net> wrote:
> I am trying to get my pages through the w3c-validator for html.
> It doesn't like my
> <FORM action="mypage.php?para1=val1¶2=val2">
> Changing & to & got my page through the validator, but broke
> my app, which seems not to be getting any parameters over URL
> anymore.
I find that *very* hard to believe. I'm not aware of any browser that
mishandles HTML entities. Basically, when you say this:
action="/mypage.php?para1=val1&para2=val2"
Your browser's HTTP request line will appear as:
/mypage.php?para1=val1¶2=val2
So, by the time PHP sees it, everything is the same either way. My guess is
that you have some other problem.
Hope that helps.
Chris
=====
My Blog
http://shiflett.org/
HTTP Developer's Handbook
http://httphandbook.org/
RAMP Training Courses
http://www.nyphp.org/ramp