removing an array from a compound array

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I have a compound array, that is, an array of an array of an array, etc, that is about 5 arrays deep. I currently search thru all of these arrays, and based on some criteria, I want to delete
one of the arrays (along with all of its sub-arrays) in the middle.

What is the easiest way to delete such an "embedded" array?

array_splice() looked like a possibility, however, it requires that I specify the array
for removal by using offsets which seems odd to me.

Isn't there a way to remove array A from array B?

Thanks,

-Andres

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux