Here's my situation, I have a list of features for vehicles that I store in a table in the database. On my html form, I want to display these features as a list of checkboxes that the users can select based on the features they have on their vehicle.
Now this is my problem, on this form there are fields for year, price and so forth, which require validation. I'm using sessions to store the values entered, and if there are errors, I redisplay the values they entered using the session array. This isn't a problem with the year, price and other fields where they enter text, but how do I go abouts doing this with checkboxes, since it seems like a can't pass an array back and forth in the http header?
I want the checkboxes that the user selected to be selected when they are taken back to that page agian if there were errors.