Re: [PHP] How Can I delete an Item of one array

2005-08-17 Thread Jordan Miller
you use the unset() function: unset($array[$key]); // http://www.php.net/unset you can reindex the keys if they are numeric with: $reindexedArray = array_values($array); // http://www.php.net/ array_values Jordan On Aug 17, 2005, at 1:12 PM, Tomás Rodriguez Orta wrote: Hi people. How Ca

Re: [PHP] How Can I delete an Item of one array

2005-08-17 Thread Raz
> I want to delete an element behind of array?, what function What Can I use? Do you mean remove the last member of an array? If so check out array_pop() at www.php.net raz -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] How Can I delete an Item of one array

2005-08-17 Thread John Nichel
Tomás Rodriguez Orta wrote: Hi people. How Can I do this. I want to delete an element behind of array?, what function What Can I use? The last element in the array? http://us2.php.net/manual/en/function.array-pop.php -- John C. Nichel ÜberGeek KegWorks.com 716.856.9675 [EMAIL PROTECTED] -- P