Re: general question ?
| From: | Ernest E Vogelsinger | Date: | Mon, 24 Feb 2003 21:56:17 +0000 |
| Subject: | Re: general question ? | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-136997@lists.php.net to get a copy of this message | ||
At 22:54 24.02.2003, Jonas Geiregat spoke out and said:
--------------------[snip]--------------------
>when I add method="post" it doesn't work anymore I always get the form back
--------------------[snip]--------------------
It is working if you don't use method="POST"?
Have a look at your code - I bet you are using $_GET['varname'] to access
the variables. POSTed forms populate the $_POST array (same syntax as
$_GET, other name).
If your code doesn't care whether data comes from POST or GET forms, use
the $_REQUEST global array, it contains values from both methods.
--
>O Ernest E. Vogelsinger
(\) ICQ #13394035
^ http://www.vogelsinger.at/