Re: How to jump to a new page?

From: Date: Tue, 05 Sep 2000 19:38:45 +0000
Subject: Re: How to jump to a new page?
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-15361@lists.php.net to get a copy of this message
Wee Chua 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. > > Calvin > if (myrow["username"] == "") { header("Location: http://www.foo.com/"); } else { header("Location: http://www.bar.com/"); } Regards, Jesper Juhl juhl@eisenstein.dk

« previous php.general (#15361) next »