Menu
unset($_SESSION[‘UserName’][$name]); destroys only element inside session array. But however the position remains same. So i want even the position to be deleted, so how to do it.
For Eg: If $name=5, then unset($_SESSION[‘UserName’][$name]) will destroy fifth element in session array.
And fifth position becomes: $
So my question is I want both element in fifth position and fifth position
to be deleted. How to do it.
thanks.