Redirection II
| From: | Wade | Date: | Sat, 21 Apr 2001 21:36:44 +0000 |
| Subject: | Redirection II | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-49704@lists.php.net to get a copy of this message | ||
I am submitting a form to a PHP page. I would like to check the form
variables before I load the page, and redirect them to another page if they
variables are incorrect -- so they can fix them.
Any ideas how I do this?
My idea was to start out the PHP with an if statement, and redirect in the
case something was wrong. But I'm really having a hard time finding a way to
do this.
Thank you!
Wade