I'm trying to use sessions to store a user's username for me. I seem to be messing up the sessions_start() command. I've put this:
<?php session_start(); ?>
at the top of the body section of my page but get this message:
Warning: session_start(): Cannot send session cookie - headers already sent by (output started at /home/www/scodut.freehostia.com/sign_in.php:10) in /home/www/scodut.freehostia.com/sign_in.php on line 10
Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at /home/www/scodut.freehostia.com/sign_in.php:10) in /home/www/scodut.freehostia.com/sign_in.php on line 10
Any guidance?