[PHP-WIN] Re: [PHP] Removing Items from an Array

2005-10-13 Thread Jochem Maas
[EMAIL PROTECTED] wrote: Thanks for the addition Jochem.. one reason I post here, even if it's a basic example, is because if there's a better way or a chance to learn something new, I want to have that opportunity. Thanks again! TG, its a pleasure. I often find it fun just to write stuff

Re: [PHP-WIN] Re: [PHP] Removing Items from an Array

2005-10-13 Thread Paul Menard
Well to give my .02 here. Why even go through the second foreach? By doing this you are making your code very inefficient in that it must read through the entire set of arrays. Sure it works fine if you have only a few. But if there are a few thousand it takes longer. As the arrays are structu

[PHP-WIN] Re: [PHP] Removing Items from an Array

2005-10-13 Thread tg-php
Thanks for the addition Jochem.. one reason I post here, even if it's a basic example, is because if there's a better way or a chance to learn something new, I want to have that opportunity. Thanks again! -TG = = = Original message = = = Id like to continue where TG left off ... hth. [EMAI