But if you are using an if (/else) statement, then you can do the following
to fix it.
if($...){

}
exit;
else {


}
exit;
So if you would have an header in one of the two place, you can fix it like
this, but then you have to use the exit-command on both places!!

"R.S. Herhuth" <[EMAIL PROTECTED]> schreef in bericht
news:[EMAIL PROTECTED]...
>
> I'm having a bit of trouble understanding why I'm getting a "Cannot add
> header information; Headers already sent" error message.  I have several
> pages where I'm using the headers with no problems...but this single
> page I keep getting the error.  The only real difference is that this
> page has a bunch of logic checks before it calls the header command.
>
> What is the cause of this error?  what sort of things should I check
> for?
>
> I'm lost,
> Ron



-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to