Re: staus Check boxes in PHP3
| From: | Martin | Date: | Wed, 06 Sep 2000 12:33:30 +0000 |
| Subject: | Re: staus Check boxes in PHP3 | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-15504@lists.php.net to get a copy of this message | ||
Hi !
I don't know exactly how it works, but you can use
while (list($var, $value) = each($HTTP_POST_VARS)) {
echo "$var = $value<br>\n";
}
to watch all varabiles that has been pasted.
Regards
Martin
manoj nahar wrote:
> hi
>
> Please help me out with this.
>
> i am taking the values of series of checkboxes from database and giving
> them values as 1 for enable and
> status of check box is checked and 0 means the check boxes is unchecked.
>
> now when the form is submitted after the user has changed the status from
> checked-> uncheked and vice versa.
>
> now how can i get the status of checkbox as checked and value so that i can
> update my database.
>
> in short i have to iterate through all the check boxes and update the value
> to database.
>
> please help me out with this and if possible some code please.
>
> manoj nahar
>
> IG Technologies Limited , Mumbai
> Tel* 91-22-7611314/ 7904285
> Fax* 91-22-7611315
> http://www.igtechnologies.com
> **************************************************************************
> DISCLAIMER
> ***************************************************************************
> Any content of this e-mail shall not be disclosed to or
> used by anyone other than the addressee(s), nor copied
> in any way. If received in error, Please delete it and advice
> the sender immediately.The contents of the e-mail is not
> controlled by IG Technologies Limited.
>
> ------------------------------------------------------------------------------------------------
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
> For additional commands, e-mail: php-general-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net