Hello everyone! This is regarding HTML forms, PHP & MySQL.
My Question:
How do you create an html form that goes to a preview screen and then allows the user to move back to the form if they made any errors and corrections are needed or click the send button to submit the form. The form's contents are then inserted into a database table.
Many thanks to anyone who can help me with this!
- Steve
Just incase you need to know.. my current setup is:
Solaris 2.7
Apache 1.3.3
MySQL Version 3.23.43
PHP 4.1.0 Apache Module
Just make the preview page with the same variables you would normally make, just make sure that when clicking "ok", the variables get sent along (like type=hidden name=variable_name value=variable_value)
Thanks for the tip Jason! Unfortunately I've already gone and done it the other way (preview on separate page) but I'll sure give your code a try on my next project (which may be soon).