RE: [PHP-DB] Check Boxes/UPDATE
| From: | Dave Watkinson | Date: | Wed, 03 Oct 2001 02:16:57 +0000 |
| Subject: | RE: [PHP-DB] Check Boxes/UPDATE | ||
| Groups: | php.db | ||
| Request: | Send a blank email to php-db+get-12950@lists.php.net to get a copy of this message | ||
Hiya Matt
you have to set the value of the checkbox to 1, and give it a unique
name.
if the user has checked the box when they submit the form then the
checkbox' name will have a value of 1. if they didn't check it it won't
have a value at all.
Hope this helps!
Dave
-----Original Message-----
From: Matt C [mailto:matthewcothier@hotmail.com]
Sent: 03 October 2001 03:23
To: php-db@lists.php.net
Subject: [PHP-DB] Check Boxes/UPDATE
I have a page of jobs with AuthStatus set to 0. Basically I want to list
each job title with a checkbox next to it. This I have done.
What I really don't understand is how do I make it so that the rows in
my
table for all the different records when ticked are updated to 1?
Please help.
Matt
_________________________________________________________________
Get your FREE download of MSN Explorer at
http://explorer.msn.com/intl.asp
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, e-mail: php-db-unsubscribe@lists.php.net
For additional commands, e-mail: php-db-help@lists.php.net
To contact the list administrators, e-mail: php-list-admin@lists.php.net