How can I send a radio or checkbox value to the $_POST array even when the field is empty?
\';
Consider this example:
// Set a default value as male Male Female
and you will get the value
Array ( [name] => [email] => [gender]=>male )
You only get the checked radio in the $_POST array
checked
$_POST