UnSet array element : Variable Set Unset « Language Basics « PHP






UnSet array element


<?

 $A=array(0=>"zzzz", 
          "a"=>"aaa", 
          "b"=>"bbb", 
          "c"=>"ccc");

 Unset($A["a"]);

 echo $A["a"]

?>
           
       








Related examples in the same category

1.The isset() Function
2.IsSet variable
3.Unset variable
4.unset() Function