You could do:

header("Location: page2.php");

But you may need to pass some variables such as:

header("Location: page2.php?SESSID=$SESSID");

You'd probably be better of having the error checking at the top of the
second page and sending them *back* to the first page if they got it wrong.

--
Visit the Zend Store at http://www.zend.com/store/
Wanna help me out?  Like Music?  Buy a CD: http://l-i-e.com/artists.htm
Volunteer a little time: http://chatmusic.com/volunteer.htm
----- Original Message -----
From: "Edith Lai" <[EMAIL PROTECTED]>
Newsgroups: php.general
Sent: Monday, February 19, 2001 9:54 AM
Subject: [PHP] Open location automatically after checking


> Hi,
> I have a form for user input and after checking, it's gonna go to another
> page for further input. What should i code to bring the second input page
up
> after checking done on the first??
> Thanks.
>
> Edith Lai
>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
>


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to