<?php
session_start();
echo "Pageviews=". $_SESSION['views'];
?>
output :
Pageviews=2
note :
1) if already the "views" value store 2 then it displays the value "2"
session_start();
echo "Pageviews=". $_SESSION['views'];
?>
output :
Pageviews=2
note :
1) if already the "views" value store 2 then it displays the value "2"