$arr=array(0,0,0,0,0);
$_SESSION['abb']= isset($_SESSION['abb'])?$_SESSION['abb']:$arr;
$arrt=$_SESSION['abb'];
$count=count($arrt);
for($i=0;$i<$count;$i++)
{
$arrt[$i]=$arrt[$i]+1;
}
$_SESSION['abb']=$arrt;
print_r($_SESSION['abb']);我测试是刷新不能变,如果要然session保存的数组值不断随刷新增加1
怎么办????