Originally posted by y0y014
I don't know what you mean really... I am kinda new to PHP... I should have posted under the Newbie section... but could you explain what you are talkin about, a bit more??
The error message says it all.
From here, it looks as if the code your posted in your first post is being include()ed in a master file, which has above it another included file "header.php".
"Header.php" contains browser output (echo statements, HTML code, etc.) or else accidental "whitespace" and you can't output anything to the browser prior to setcookie(), session_start(), header(), etc. --- so PHP refuses to act on your script and shows you the error message instead.
One thing I've grown to love about PHP --- an error message means exactly what it says. 🆒