mike1313 Posted December 29, 2007 Share Posted December 29, 2007 You used to be able to check if checkboxes were either "on" or "off" when processing a form does "off" not work anymore because it seems to not work for me. echo "<input type=checkbox name=thing>"; if($_POST[thing] == "off"){ echo "$string"; } Link to comment https://forums.phpfreaks.com/topic/83557-solved-checkboxes-question/ Share on other sites More sharing options...
mike1313 Posted December 29, 2007 Author Share Posted December 29, 2007 I've solved it. Just used !$_POST[] Link to comment https://forums.phpfreaks.com/topic/83557-solved-checkboxes-question/#findComment-425130 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.