How can I send a radio or checkbox value to the $_POST array even when the field is empty?
\';
Try this it will work :
Unchecked radio elements are not submitted as they are not considered as successful. So you have to check if they are sent using the isset or empty function.
Unchecked radio
successful
isset
empty
'; print_r($_POST); echo '