i wanaa ask
what is $_SESSION=1;
i think its like array but i don't know
and what is "views"
is it index ?
can i change it ?
if it is index why in each page i just write views
i mean why i didn't change the index how can i store new Variable each time at the same index
<?php session_start(); // store session data $_SESSION['views']=1; ?> <html> <body> <?php //retrieve session data echo "Pageviews=". $_SESSION['views']; ?> </body> </html>