Switch to full style
:read: Start PHP with us. Includes topics to help you in php
Post a reply

UnSet array element

Mon Oct 27, 2008 6:10 pm

Code:


<?

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

 Unset(
$A["a"]);

 echo 
$A["a"]

?>
    





Post a reply
  Related Posts  to : UnSet array element
 Pop the element off the end of array     -  
 access element in array C++     -  
 Array element navigation     -  
 find the largest element stored in the array     -  
 find out the number of elements in an array of 8-bit element     -  
 Unset variable     -  
 unset reference variables     -  
 Array difference for associate array     -  
 Usage of big element tag.     -  
 print element in 2d matrix     -  

Topic Tags

PHP Arrays