I have as my script
What i want is to start a session and store a variable bt when I am executing it ,I get an error like
Warning: session_start() : Cannot send session cache limiter - headers already sent (output started at c:\program files\easyphp1-8\www\session.p hp:5) in c:\program files\easyphp1-8\www\session.p hp on line 6
Pageviews=1
What does the error mean?Any help will be kindly appreciated.Tha nks
Code:
<html> <body> <?php session_start(); // store session data $_SESSION['views']=1; //retrieve session data echo "Pageviews=". $_SESSION['views']; ?> </body> </html>
Warning: session_start() : Cannot send session cache limiter - headers already sent (output started at c:\program files\easyphp1-8\www\session.p hp:5) in c:\program files\easyphp1-8\www\session.p hp on line 6
Pageviews=1
What does the error mean?Any help will be kindly appreciated.Tha nks
Comment