James Keeline wrote:
> --- On Fri, 10/10/08, Wade Smart <[EMAIL PROTECTED]> wrote:
> 
>> Yea, that was where I was going too. I finally pulled the array apart 
>> and did it a LONG way and it worked but -- it was an extra step that 
>> I didnt want but --- it worked.
>>
>> Wade
> 
> Sometimes an array is not the best way to manipulate data like this.  You 
> could put it in a MySQL table, even a temporary one, so you could pull the 
> desired data out with a SELECT query.
> 
> Otherwise, there are ways to perform sorts with custom functions.  It might 
> be possible to tinker with this if we had a bigger sample data set.
> 
> James Keeline

20081011 0848 GMT-6

My client doesn't have mysql (or any db) hosting with their acct 
(because that was something I was thinking of too) but, I think I 
figured out a different way to do this.

As Im sorting technically three arrays, the two nested one against a 
third one, I reversed the order I of the array. I took the larger on and 
did a foreach on that one first and then did the one I had to match 
against second. What this does, I now have the information I need to 
filter against already so, I just match it up to the nested array.

Its working (so far) just fine.

Unless I missed something :)

Wade

Reply via email to