Removing Certain Key==>Val from an array...

From: Date: Wed, 26 Sep 2001 21:17:17 +0000
Subject: Removing Certain Key==>Val from an array...
Groups: php.general 
Request: Send a blank email to php-general+get-68923@lists.php.net to get a copy of this message
How can we remove certain key==>val from an array? Lets say i have an array -- $cart = array ( "Software"==> "Redhat", "Book" ==> "Mastering PHP", "MusicCD" ==> "Jannifer Lopez" ) ; Here I want to remove "MusicCD" ==> "Jannifer Lopez" such that the $cart = array ( "Software"==> "Redhat", "Book" ==> "Mastering PHP") ; If any one understand it, then please help me... Xtrema_netX

« previous php.general (#68923) next »