Re: Nested database loops and completing an unordered list....

From: Date: Fri, 02 Mar 2012 19:12:47 +0000
Subject: Re: Nested database loops and completing an unordered list....
References: 1 2 3 4 5 6 7 8 9 10 11 12  Groups: php.general 
Request: Send a blank email to php-general+get-316851@lists.php.net to get a copy of this message
[snip] > I'm not saying you should get rid of the recursive function calls, but rather, why not > pull all your data in one SQL call, then use recursive functions on the returned array of data. It > will save a little time by not hitting the DB on each function call too. > [/snip] I'll just need to wrap my head around using a recursive function to iterate through the array.

« previous php.general (#316851) next »