Re: Open location automatically after checking

From: Date: Tue, 20 Feb 2001 15:00:48 +0000
Subject: Re: Open location automatically after checking
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-40748@lists.php.net to get a copy of this message
I tried this but get error message. It says that i've opened a header and can't open another things like that. Is this the only way to do that? For your reference, my php file looks like this: <?php if ($submit){ if (checking not succeed){ echo "...."; }else{ (redirection to another php form for further input ) } }else{ (display html form) } ?> ""Richard Lynch"" <richard@zend.com> wrote in message news:01e801c09ac4$9f0a6520$64aa8ed8@142.170.100... > 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" <im_lymab@hotmail.com> > 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: php-general-unsubscribe@lists.php.net > > For additional commands, e-mail: php-general-help@lists.php.net > > To contact the list administrators, e-mail: php-list-admin@lists.php.net > > > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net > For additional commands, e-mail: php-general-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net >

« previous php.general (#40748) next »