Re: [PHP] unset()- newbie question

2001-05-22 Thread Chris Sano
"; unset( $array[ 'test' ] ); echo "after " . $array[ 'test' ]; ?> returns: before chris after hence, the unset function works fine for me. what version of php are you running? ""Tom"" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > I can't seem to get uns

[PHP] unset()- newbie question

2001-05-20 Thread Tom
I can't seem to get unset() to work when I'm strying to delete an element from an array. I have a select list that is populated by an array, and i need to be able to delete items from the list by deleting them from the array, but I don't know how. I tried using unset($array['element']); but i