View Full Version : Trouble with unset and array

01-23-2004, 12:15 PM
I'm attempting to destory an entire array, not just an element of it. However when I add more elements to the array afterwards they are added to the end of the old supposedly destroyed array and I can see all the old elements still there.

How do I effectively destroy an entire array?

NB this is NOT a problem with unseting globals in a function.

01-23-2004, 12:24 PM
I hate that. Only minutes after I posted I found the solution. Unset unsets entire arrays just fine. I forgot to unset one of the other arrays.