hey guys,
im using sessions-and i need to print out the name of a users login at a certain point.
i use:
session_start();
$userenter = $HTTP_SESSION_VARS['valid_user'];
this successfully gets the usersname and prints it out, but i keep getting this error
Warning: Cannot send session cache limiter - headers already sent (output started at c:\apache\htdocs\final\quiz2.php:6) in c:\apache\htdocs\final\quiz2.php on line 427
which is refferring to the session_start(); code
but if i remove the session_start(); then it does not successfully echo the username?
how can i get solve this error?
thanks guys,
John