Using PHP and mySQL I have a form with rows constructed from an array. One of the columns in the array is a checkbox. How can I count all the checkboxes in the form that are checked "on" without inserting the checkbox "on" value to a table in a mySQL database. The checkbox name is the primary key "OrderID" value from the my orders table.
To recap: what the page is for is to have a form with a the ability to delete the selected checkbox items. The only thing I'm having problems with now is getting the array to recognize which checkboxes are checked on after the submit button is pressed.
Any help is much appreciated.