BGrg007
  • BGrg007
$php/html question. If I had more than one checkbox in each row in a table, let's say, I had 10 checkboxes in each row of a table, does each checkbox in each row have its own unique array name or all 10 checkboxes in each row have one name? example: for($i = 1; $i<=10; $i++){ ;}
Computer Science
  • Stacey Warren - Expert brainly.com
Hey! We 've verified this expert answer for you, click below to unlock the details :)
SOLVED
At vero eos et accusamus et iusto odio dignissimos ducimus qui blanditiis praesentium voluptatum deleniti atque corrupti quos dolores et quas molestias excepturi sint occaecati cupiditate non provident, similique sunt in culpa qui officia deserunt mollitia animi, id est laborum et dolorum fuga. Et harum quidem rerum facilis est et expedita distinctio. Nam libero tempore, cum soluta nobis est eligendi optio cumque nihil impedit quo minus id quod maxime placeat facere possimus, omnis voluptas assumenda est, omnis dolor repellendus. Itaque earum rerum hic tenetur a sapiente delectus, ut aut reiciendis voluptatibus maiores alias consequatur aut perferendis doloribus asperiores repellat.
jamiebookeater
  • jamiebookeater
I got my questions answered at brainly.com in under 10 minutes. Go to brainly.com now for free help!
Lyrae
  • Lyrae
Yes, checkboxes in the same group have the same name and some value. See: http://www.w3schools.com/tags/att_input_checked.asp
BGrg007
  • BGrg007
Then, how can I check which checkboxes in each row has been checked? I've tried a few things but none worked.
Lyrae
  • Lyrae
http://stackoverflow.com/questions/4997252/get-post-from-multiple-checkboxes

Looking for something else?

Not the answer you are looking for? Search for more explanations.

More answers

Harsha19111999
  • Harsha19111999
Try the isset() function. With that, you can give each checkbox a name and chek whether if that check box is ticked or not

Looking for something else?

Not the answer you are looking for? Search for more explanations.