Guest Posted November 18, 2006 Share Posted November 18, 2006 How would i go about using a form and posting a check box to a php file then how would i tell if that box is checked or not with the posted to php file? Link to comment https://forums.phpfreaks.com/topic/27652-checkbox-hadling/ Share on other sites More sharing options...
trq Posted November 18, 2006 Share Posted November 18, 2006 The first part of your question is simple html not php. The second part... if your checkbox was named foo.[code=php:0]if (isset($_POST['foo'])) { // the checkbox was checked}[/code] Link to comment https://forums.phpfreaks.com/topic/27652-checkbox-hadling/#findComment-126490 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.