getting checkbox data form a html - php form
Posted on 2016-10-17
I have a lot of check boxex on my form. The users can check the boxes and submit it, ( I use post method)
then I need to get all the data that have been posted by the users. But mostly I have many checkboxes posted at the same time,
How can I get all the checkboxes which has value = 1 and print it on the screen?
I assign my variable to checkbox name so that I would know which one is checked.
<input name=$bayikodu type=checkbox value=0 />