lundi 25 septembre 2017

How to submit Checkbox values to php

Guys, I am getting an error. I want my checkbox values to be submitted in PHP file like when I check a checkbox, I want that value to be in my PHP file but I am getting "on, on, on" instead of the values.Here's My Code & screenshot.Here's the screenshot

if(!empty($_POST["check_list"])) {
$checked_count = count($_POST["check_list"]); echo "My Skills " . $checked_count." option(s): <br/>"; } echo implode("\n", $_POST["check_list"]);




Aucun commentaire:

Enregistrer un commentaire