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...

PHP General Mailing List (
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to