I am building a form with two pages. One contains the form ("post_project.php") and the other is the form handler that stores the form information into the database ("post_project_results.php").
The problem I am having stems from my checkboxes. I currently give a user the opportunity to choose between 1 and 10 options for his intended project. This checkbox group is referred to as "box1".
I do not know the first clue about checkboxes and PHP, but I vision that I will soon know how to do the following.
I would like for my form to post the checkbox information (Up to 10 selections) to the form handler page and then putting it all into one variable, thus creating $box2, that will be stored in the database as a text entry.
I would also like to go even further and have my form handler send all the check box information back to the intial page, in the event that a mistake has been made. (Thus, keeping my users happy by not reinputing their check their info).
Is any of this possible???
A quick code sample outlining the code needed for both my form page and my form handling page would be greatly appreciated.
Thank you so much.
Much appreciated.
I have been struggling all week with this.