Re: w3c-compliant form-action parameters

From: Date: Sat, 25 Oct 2003 12:00:09 +0000
Subject: Re: w3c-compliant form-action parameters
References: 1 2 3  Groups: php.general 
Request: Send a blank email to php-general+get-167538@lists.php.net to get a copy of this message
Timo Boettcher wrote:
Hi John, Nachricht vom Freitag, 24. Oktober 2003, 19:06:33:
Timo Boettcher wrote:
Hi, I am trying to get my pages through the w3c-validator for html. It doesn't like my <FORM action="mypage.php?para1=val1&para2=val2"> Changing & to &amp; got my page through the validator, but broke my app, which seems not to be getting any parameters over URL anymore. How can I fix that? PS.: Moving that information from the URL to hidden fields or cookies/sessions is not an option. Timo
I'm curious....why are hidden fields not an option?
Its not easy to get the value of a hidden field in a bookmark. Timo
Sure it is. Change the method of the form from a 'post' to a 'get' <FORM action="mypage.php?para1=val1&para2=val2" method="get"> Of course, all of your variables will be in the URL then. -- By-Tor.com It's all about the Rush http://www.by-tor.com

« previous php.general (#167538) next »