Re: redirecting to a new page

From: Date: Wed, 26 Jul 2000 04:01:55 +0000
Subject: Re: redirecting to a new page
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-8202@lists.php.net to get a copy of this message
You can use the JavaScript location property. <script language="JavaScript1.1"> document.location = "new.php"; </script> Charles ----- Original Message ----- From: "Generic Player" <generic@unitedtamers.com> To: <php-general@lists.php.net> Sent: Tuesday, July 25, 2000 8:48 PM Subject: [PHP] redirecting to a new page > Hello again > > I have a page that takes info in from a form, and sends it to a php > page. That page then checks if the info is valid or not. If its not it > gives them the error, but if it is, then it adds the data to the > database, and I would like it to then re-direct them to another page. > The only things I could find to send people to a new page needed to be > used in the header, which won't work. Any ideas? > > thanks > Generic Player > > > -- > 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 (#8202) next »