Re[2]: [PHP] Variables in variable names

From: Date: Wed, 09 May 2001 12:01:18 +0000
Subject: Re[2]: [PHP] Variables in variable names
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-52088@lists.php.net to get a copy of this message
Hi seriousj, Wednesday, May 09, 2001, 1:19:55 PM, you wrote: seriousj> The info is stored in the variables intitally by information entered by a seriousj> user on a webpage, can you have the browser store the info in an array and seriousj> have it passed by a form "post" command? Try <input type="text" name="name[0]"> <input type="text" name="name[1]"> ... or even try <input type="text" name="name[]"> <input type="text" name="name[]"> This should AFAIK result in an Array, but I'm not sure if empty fields are put in. ----------------------- EnjoY, Adaran (vielmailer@adaran.net) check http://www.adaran.net

« previous php.general (#52088) next »