if you're trying to redirect with something like header, then you need
to do that redirection before any output is sent to the browser...(note,
ANY output, likes SPACES)
look at www.php.net/header if you're interested...

jack

Justin French wrote:
> 
> hi, i'm in the body of a html page, and I'd like to
> redirect to a new URL in an if() statement.
> 
> I *could* re-write the whole page so that the test
> is in the head, and use meta tags to refresh, but
> i'd rather not... the code will be heaps cleaner
> without it.
> 
> thanks
> 
> Justin French
> 
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to