Problems inserting data into mysql
Posted: Sun Mar 15, 2009 4:36 pm
http://pastebin.com/m5f0ef9f3 - Script can be found on this link.
I am trying to make my script go to a preview page of the users inputted data before actually submitting the code into the database. When they press the submit button it is supposed to insert that data and present them with a brief message letting them know that everything was inserted. Instead of it doing that though, when the submit button is pressed all it does is "restart" the script, and when I check the scripts table, nothing no data has been inserted. Can anyone explain to me why it is doing this?
I am trying to make my script go to a preview page of the users inputted data before actually submitting the code into the database. When they press the submit button it is supposed to insert that data and present them with a brief message letting them know that everything was inserted. Instead of it doing that though, when the submit button is pressed all it does is "restart" the script, and when I check the scripts table, nothing no data has been inserted. Can anyone explain to me why it is doing this?