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. -- Jason Wong -> Gremlins Associates -> www.gremlins.com.hk Open Source Software Systems Integrators * Web Design & Hosting * Internet & Intranet Applications Development * /* We cannot command nature except by obeying her. -- Sir Francis Bacon */ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php