Re: another newbie question...
| From: | Adam Williams | Date: | Mon, 16 Sep 2002 14:55:32 +0000 |
| Subject: | Re: another newbie question... | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-21773@lists.php.net to get a copy of this message | ||
Take out the HTML stuff from your page and at the very top write some code
that has it where depending on the username redirect them using the
header() function. www.php.net/header
Adam
On Mon, 16 Sep 2002, Edward Peloke wrote:
>
> Ok, here is another dumb newbie question, based on what the user enters for
> a username, I want to direct them to one of three different sites...is this
> even close? I am getting errors but am not sure if it is a simple fix or if
> it is all wrong...The username is sent from a form from the previous page.
>
> Thanks,
> Eddie
>
>
> <head>
> <?php
> if $username="eddie"{
> echo "<META HTTP-EQUIV="Refresh" CONTENT="2;
> URL=http:\\www.amazon.com">";
> }
> ?>
> </head>
> <body>
>
>
>