Can anyone help me, I have a form with allot of checkboxes. The checkboxes are all named the same (Question) and I am storing the value in an array with one variable ($Question = $_POST["Question"]
I am posting this to a MySql insert statement on another page, I can echo the results out ok on the page I have posted to, using the foreach statement.
But I am having trouble inserting the data into the database, I can put in my own values into the statement and that works fine but using the foreach statement with the posted values doesn't seem to work. I have also tried to loop around the values with a for loop and I am again able to echo the values out.
I have searched through a lot of sites and other forums on this subject, and have come across this problem on many forums, however I can't seem to get the insert to work.
I am still effectively learning PHP, and I would appreciate any help on this matter.