Hello,
I am sorta new to PHP and new to the forum.
I have a form that I am submitting to a database and doing error checking via PHP first. Everything is working right now on the form, but...I want to make a review page for the user after submitting the form. So what I have done is set the form action to the review page (review.php) and then I am grabbing the post data on the review page and echoing it out for the user to see.
I can't seem to get the error checking to happen on the form page first, to validate everything...and then have it go to the review page. So, the flow I am looking for is: user fills out form, hits submit, then the form validates, if there are errors they are displayed on the form page, if not then the form is directed to the review page where I grab the data and echo it out and then the user submits the data if it is correct.
Krop.com has an example of exactly what I am trying to do on their site when you create a new job: https://www.krop.com/jobs/step1_configure. You can fill in the form, it won't save on their site.
Thanks for the help.