Re: Submitting "get" form

From: Date: Mon, 23 Aug 2004 03:51:16 +0000
Subject: Re: Submitting "get" form
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-194441@lists.php.net to get a copy of this message
Gerard Samuel wrote:
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???
Yes. -- ---John Holmes... Amazon Wishlist: www.amazon.com/o/registry/3BEXC84AB3A5E/ php|architect: The Magazine for PHP Professionals – www.phparch.com

« previous php.general (#194441) next »