i have this code which permits me to retrieve data from a checkbox, there isn\'t any mysql included yet, so can you help me modify this?
The form is like this:
Use
foreach($_POST[checkbox] as $key => $value { echo PHP_EOL . "Key is => " . $key . " Value is => " . $value . PHP_EOL; }
Try this and see the output, you'll see yourself how to proceed further.