Hello My question is very basic one just tell me why this code which is working fine on all others php vesions not working in PHP Version 5.1.6
Code is
"
session_start();
if(isset($_SESSION['views']))
$_SESSION['views']=$_SESSION['views']+1;
else{
$_SESSION['views']=1;}
echo "Views=". $_SESSION['views'];
Plz reply soon any help will be apprieciable
Originally asked by: Rajesh on Stack Overflow


Answers