php session problem
i trying to set a session variable, but all i get is this error message.
code:
<?
session_register("name");
?>
message:
Warning: Cannot send session cookie - headers already sent by (output started at c:\usr\htdocs\bejken\homepage\runkirunki.php:7) in c:\usr\htdocs\bejken\homepage\runkirunki.php on line 8
Warning: Cannot send session cache limiter - headers already sent (output started at c:\usr\htdocs\bejken\homepage\runkirunki.php:7) in c:\usr\htdocs\bejken\homepage\runkirunki.php on line 8
what to do?
|