session_start(); if (!isset($_SESSION['a'][1])) { echo " "; $_SESSION['a'][1]=10; } else { echo " yyyy "; unset($_SESSION['a'][1]); } ?>