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
In your 'page1.php' processor, add a 'header' redirect to 'page2.php'.
header("Location: page2.php"); exit;