Re: Checkbox Question

From: Date: Thu, 02 Sep 2004 11:57:01 +0000
Subject: Re: Checkbox Question
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-195533@lists.php.net to get a copy of this message
Stephan Fiedler wrote:
Hi Nick, Nick Wilson wrote:
Hi all, [...] <INPUT TYPE="checkbox" NAME="a" VALUE="on"> so, what is it? a=<what?> [...]
if a was checked "a=on" is posted (or 'get'ed) if not checked a isn't set.
Thanks very much!
You're welcome Stephan that actually depends on the browser. Mayne browsers send a= when it's not checked (meaning an EMPTY value)


« previous php.general (#195533) next »