On Tue, 1 Oct 2002, DonPro wrote:

> Within my form, I have some checkbox objects.  If I check them and submit my
> form, isset(variable) returns true.  However, if I do not check them and
> submit my form, isset(variable) returns false.
> I am confused as I though that isset() returns true if the variable exists
> regardless if it is empty or not.  Is there a way to do what I want?

Checkbox values are only sent if they are "on" (checked).

http://www.w3.org/TR/REC-html40/interact/forms.html#h-17.13.2

        ~Chris


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to