never mind, I solved the problem.
--
***** Peter Knif *****
[EMAIL PROTECTED]
""Peter Knif"" <[EMAIL PROTECTED]> wrote in message
9e7ror$mp0$[EMAIL PROTECTED]">news:9e7ror$mp0$[EMAIL PROTECTED]...
> Hi! I'm trying to write a simple script that would set a cookie. I keep
> receiving the following message:
>
> Warning: Cannot add header information - headers already sent by (output
> started at e:\inetpub\wwwroot\PHP\game.php:85) in
> e:\inetpub\wwwroot\PHP\game.php on line 87
>
> Here's the code:
>
> 85 echo "showing results\n<BR>";
> 86 echo "Right answers = $right\n<BR>";
> 87 setcookie("cookie_value", $right, time()+3600);
>
> Could someone tell me what might cause this problem? Thanks.
>
>
> --
> ***** Peter Knif *****
>
> [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]
>
--
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]