Re: Generated input names

From: Date: Mon, 24 Mar 2003 05:54:21 +0000
Subject: Re: Generated input names
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-140801@lists.php.net to get a copy of this message
On Monday 24 March 2003 12:04, Richard Whitney wrote: > By the way, some names are various colorsappended with a size letter (i.e. > BlackM, GreenXL, etc.) > > others are simply a letter incremented starting with a. If I was doing this I would put all form elements into an array and thus name them like: "form[BlackM]" "form[GreenXL]" etc Then I can just for-loop through $_POST['form'] (or $_GET['form']) to get everything single form element. -- Jason Wong -> Gremlins Associates -> www.gremlins.biz Open Source Software Systems Integrators * Web Design & Hosting * Internet & Intranet Applications Development * ------------------------------------------ Search the list archives before you post http://marc.theaimsgroup.com/?l=php-general ------------------------------------------ /* "I'm a mean green mother from outer space" -- Audrey II, The Little Shop of Horrors */

« previous php.general (#140801) next »