RE: [PHP] How to jump to a new page?
| From: | Wee Chua | Date: | Wed, 06 Sep 2000 16:47:30 +0000 |
| Subject: | RE: [PHP] How to jump to a new page? | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-15548@lists.php.net to get a copy of this message | ||
Hi,
I am confused from your explanation, would you give me an example, please?
Thanks.
Calvin
-----Original Message-----
From: Henrik Hansen [mailto:hh@mailserver.dk]
Sent: Tuesday, September 05, 2000 4:03 PM
To: Wee Chua
Cc: PHP (E-mail)
Subject: Re: [PHP] How to jump to a new page?
Wee Chua <Chua@mail.interclean.com> wrote:
> Hi all,
> How could jump to a new page in my if statement, such as
>
> if (myrow["username"] == "")
> --> then jump to a new page;
> else
> --> then jump to a another page;
>
> something like that. Please help? Thanks.
>
use header(); if you dont have any html out before the function else
use the meta refresh tag.
--
Henrik Hansen
hh at mailserver.dk