samedi 1 octobre 2016

2 checkbox to post with the same name?

how can i do? the research "comment[]" is said to be used in this way. It gives an error when I do this

$comment= post("comment");

           <input type="radio" value="1" name="comment">
           <label for="comment"> Yes</label>

           <input type="radio" value="2" name="comment">
           <label for="comment"> No</label>




Aucun commentaire:

Enregistrer un commentaire