Hi all. On my site I use a cookie script (that’s optional) that lets a user fill out a form and then his name and some info will appear at the top of the page when he reloads it after submitting the form. When the user fills out the form I get the error:
[QUOTE]
Warning: Cannot modify header information – headers already sent by (output started at /home/freehost/t35.com/p/r/projep/a.php:1) in /home/freehost/t35.com/p/r/projep/top.php on line 5
I use t35.com as my host right now and I don’t understand what i did wrong. the cookie code i use is:
[code=php]<?
$username = $_GET[“nme”];
if (! $username) {
} else {
setcookie(“username”, $username);
}
?>
Thanks in advance.