Re: printing the parameters out of an URL

From: Date: Wed, 31 May 2000 17:32:47 +0000
Subject: Re: printing the parameters out of an URL
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-747@lists.php.net to get a copy of this message
On Wed, May 31, 2000 at 08:14:31PM +0200, Andrej Trobentar wrote: I would like to pass the parameters like this : > print '<INPUT type="hidden" name="name[i]" value="'. > $column_name .'">'; > > ....so the name would be an array. Is this possible? If yes, how? > > Sorry for the long explenation i would be happy i someone could help > me.Thanks! You can do it exactly like in your example. I know that this works great with method=POST, I'm not sure about method=GET, but I'm guessing it will work fine. Although the []'s might mess up the URL if they are tacked on as is, without beinf urlencoded. -- Chris Moyer -- cmoyer@chekinc.com -- PHP Developer -- Chek.com

« previous php.general (#747) next »