How to branch automatically after a successful varification

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.

Welcome to SitePoint!

Take a look at the [fphp]header/fphp function boblan66. :wink:


header('Location: http://www.example.org/');
exit;

I should have remembered that. But us old guys need a little bit of time or nudge to remember.