Hmmm, then the book "Beginning PHP" from Wrox is wrong... /J
Jason Wong wrote: > On Friday 16 August 2002 17:54, José Jeria wrote: > >>I have a page with a checkbox, when i submit to the next page the >>variable $whatever (the checkboxes name.) will be "On" if its checked, >>and it will be undefined if its not checked. >> >>Shouldn't it be a empty string? and not undefined? > > > That is how it works. If it's not checked it does not get defined. > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php