I have a form, which redirects the user to \"page1.php\" after the form is submitted. What I want to do is to redirect the user to \"page2.php\" after the form is submitted, but
you could do a check if query is complete
example