----- Original Message -----
From: sagar N Chand
To: John Day
Sent: Tuesday, September 25, 2001 6:46 PM
Subject: Re: [PHP] Capturing several checkbox values
give each checkbox an individual name before you submit it.
In the next page put this code :
while(list($key,$value)=each($HTTP_POST_VARS)) {
echo ($key); // if you want to print the name of the check box
echo($value); // if you want to print the values of the check box
}
make sure that u use post method while submitting the form.
/sagar
----- Original Message -----
From: John Day
To: [EMAIL PROTECTED]
Sent: Tuesday, September 25, 2001 3:00 PM
Subject: [PHP] Capturing several checkbox values
Hi,
I have a page containing about 50 different checkboxes, the user can
select as few or many as they like. When they submit the form I want the
values/names of the checkboxes that they selected to be displayed on the
next page, i.e. a thankyou page. Any help is much appreciated.
JD
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]