Posted on 2008-11-03
Hi everyone hope you are all well.
Guys i have a problem with my php page.
I have a form that has a checkbox with name 'checkbox' so im trying to capture an array of checked items on the page.
Im trying to use
which ONLY captures one selected checkbox and not all.
Can anyone suggest how to capture all selected checkbox items?
since I have 3 forms on the same page, and i wish to submit the values to the same receiving page to grab all the checkbox items.
The reason im using 3 forms (and not one) is because data is being returned from a mysql table, but not all rows will have data posted to the receiving page, so my page is split up according to if else conditions.
Any help on this greatly appreciated.