Re: How can I redirect to another php page
| From: | Tom Ray | Date: | Wed, 08 Jan 2003 20:37:15 +0000 |
| Subject: | Re: How can I redirect to another php page | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-130802@lists.php.net to get a copy of this message | ||
You could use an include statement in one of two ways. 1) you can just
include the page that you want to show, however the url doesn't change it
will still be select.php 2) if you want to sent them to yellow.php or
green.php you could include an html page that had a meta-refresh in it set
for 0 seconds to move them to the seperate pages.
-----Original Message-----
From: Teo Petralia <t.mattiozzi@auckland.ac.nz>
To: php-general@lists.php.net
Date: Thu, 9 Jan 2003 09:46:30 +1300
Subject: [PHP] How can I redirect to another php page
> Hi All!
> I would like to redirect the user to another php page accordingly to
> his/her chosen options, example:
> if ($Color == "Yellow") {
> go to page ....
> else if ($Color == "Green")
> go to page ....
> }
>
> Does anyone knows how to achieve the goal??
>
> Thanks
>
> Teo
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php