RE: [PHP] newbie question: how to jump to a different URL ???
| From: | Jay Blanchard | Date: | Thu, 24 Oct 2002 18:11:33 +0000 |
| Subject: | RE: [PHP] newbie question: how to jump to a different URL ??? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-121328@lists.php.net to get a copy of this message | ||
[snip]
I'm a newbie (understatement) and would like to achieve the following:
if (condition) { open URL1 }
else { open URL2 }
There is supposed to be an initial web page that allows a selection
and based on that a new page should open. Preferrably in the same
browser window or in a new window but closing the old one.
[/snip]
The header() function. http://www.php.net/manual/en/function.header.php
HTH!
Jay