Tom, et al --
...and then Tom Rogers said...
%
% Hi,
Hi!
%
% Sunday, January 5, 2003, 9:46:05 PM, you wrote:
%
...
% DTG> how do I undefine that element?
%
% unset($a1['b']);
Ah! And here I was looking for 'undefine' (and boy o boy are there a lot
of occurrences of *that* in the manual!).
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 & HA
2 matches
Mail list logo