Submitting "get" form
| From: | Gerard Samuel | Date: | Mon, 23 Aug 2004 00:32:47 +0000 |
| Subject: | Submitting "get" form | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-194440@lists.php.net to get a copy of this message | ||
Say I have a form like ->
<form action="./foo.php?id=20" method="get">
...
<input type="submit"... />
</form>
If this form is submitted, the $_GET['id'] variable *is not* available.
If the method is changed to "post", the $_GET['id'] variable *is* available.
Is this how forms are supposed to work???
Thanks