Here's my situation: I'm building a small website where, when registring, you can select which days you're available for something.
Mondaymorning Mondayafternoon Tuesdaymorning Tuesdayafternoon etc...
All the way to sundayafternoon.
I'm formchecking this offcourse, in PHP, and I need to declare 14 variables and go over each one to determine wheter or not the checkbox was clicked.
Now I'm wondering, isn't there an easier way? Now, these are checkboxes, it's not like when uploading files you just add [] to the name atribute in HTML and they get uploaded as an array.
But that would be handy. Does anybody know how I can get something like this going?