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