Hi,

Sunday, January 5, 2003, 9:46:05 PM, you wrote:
DTG> Hi, all --

DTG> If I have an array like

DTG>   $a1 = array ( 'a' => 'aaa' , 'b' => 'bbb' , 'c' => 'ccc' ) ;

DTG> and I want to completely remove 'b' from it (not just set $a1[b] to ""),
DTG> how do I undefine that element?


DTG> TIA & HAND

DTG> :-D

unset($a1['b']);

-- 
regards,
Tom


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to