retrieving form checkbox values

From: Date: Thu, 17 Jul 2003 08:45:52 +0000
Subject: retrieving form checkbox values
Groups: php.general 
Request: Send a blank email to php-general+get-155568@lists.php.net to get a copy of this message
I have a form which I want to post multiple values from one function to another using checkboxes. Having one value is simple- the form submits the value $File and is then retrieved in the target function via $_Request['File'] So far so good. Now I want to have multiple values for $File, because $File is a value assigned to a dynamically generated list of files in a folder (which will change from folder to folder). If I have multiple <input type=checkbox name=File value=$File> then only the last value is posted to the next function and retrieved by $_Request['File'] How can I post and retrieve all values of $File or am I going about this the wrong way? Thanks

« previous php.general (#155568) next »