Question: how to fetch value from checkbox in php?
Answer: To get value of a checked checkbox : php if (isset($_POST['gender'])){ echo $_POST['gender']; // Displays value of checked checkbox. }