After a form calls itself for validation and submission to the db, how do you automatically branch to another page after a successful validation?
For example, user fills out the username and password, the code validates the username and password as valid and then needs to display the next page.