Eggzorcist Posted August 18, 2009 Share Posted August 18, 2009 What kind of value does a check box have when it's submitted checked or submitted unchecked? Thanks Link to comment https://forums.phpfreaks.com/topic/170759-solved-check-boxes-and-forms-quick-question/ Share on other sites More sharing options...
Cosizzle Posted August 18, 2009 Share Posted August 18, 2009 isset I believe. http://ca2.php.net/isset in other words, a boolean value; true or false Link to comment https://forums.phpfreaks.com/topic/170759-solved-check-boxes-and-forms-quick-question/#findComment-900561 Share on other sites More sharing options...
Eggzorcist Posted August 18, 2009 Author Share Posted August 18, 2009 so if it's checked it will output "1" and if left it'll be "0"? or true or false? Link to comment https://forums.phpfreaks.com/topic/170759-solved-check-boxes-and-forms-quick-question/#findComment-900562 Share on other sites More sharing options...
Cosizzle Posted August 18, 2009 Share Posted August 18, 2009 Checked = true Unchecked = false Sounds about right! Link to comment https://forums.phpfreaks.com/topic/170759-solved-check-boxes-and-forms-quick-question/#findComment-900563 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.