gevo12321 Posted July 11, 2007 Share Posted July 11, 2007 how do u say that if the checkbox is checked, than do something. Link to comment https://forums.phpfreaks.com/topic/59512-solved-checkboxes/ Share on other sites More sharing options...
piznac Posted July 11, 2007 Share Posted July 11, 2007 Set the value of the checkbox to 1 & the name to "check" (or whatever) then: if($_POST['check'] == "1"){ echo "Do Something"; } Link to comment https://forums.phpfreaks.com/topic/59512-solved-checkboxes/#findComment-295744 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.