Re: Storing duplicate checkbox values

From: Date: Thu, 17 May 2001 02:40:30 +0000
Subject: Re: Storing duplicate checkbox values
References: 1  Groups: php.db 
Request: Send a blank email to php-db+get-9390@lists.php.net to get a copy of this message
> Yeah. I'm gonna have to go with this one. Thanks. But one other question: > what should the variable be echoing. > > <.input type="checkbox" name="cb_name['value']">this here > option</input> > > if ( $HTTP_POST_VARS ) { > echo $cb_name['value']; > } > > It's not coming up with anything. (Yeah, the norm applies, the if > statement in the <.head>, etc, just trying to be brief). > > When it's check it should return true right, I've never done checkboxes? I just got it. Returned "on". The syntax is: <.input type="checkbox" name="cb_name[value]">this here option</input> echo $cb_name['value']; Thanks, John

« previous php.db (#9390) next »