Re: Array Remove
- From: Oli Filth <catch@xxxxxxxxxxxxxx>
- Date: Fri, 30 Sep 2005 12:25:18 GMT
thehuby said the following on 30/09/2005 12:29:
Is there an acutal function in PHP for removing an element of an array?
eg: array1 = ("zero", "one", "two", "three"); array1 = remove_element( array1, 2 ); // array1 now contains ("zero", "one", "three");
I have been trying the unset method but this seems to be corrupting my array (which is holding a set of objects);
Unset() is the method given in the manual.
In what way is it corrupting your array?
-- Oli .
- Follow-Ups:
- Re: Array Remove
- From: thehuby
- Re: Array Remove
- References:
- Array Remove
- From: thehuby
- Array Remove
- Prev by Date: Array Remove
- Next by Date: Image display that will change for every 5 sec.
- Previous by thread: Array Remove
- Next by thread: Re: Array Remove
- Index(es):