Quote Originally Posted by litewarez View Post
The problem is that most programmers including the better ones will always do recursive calls to the database, causing higher load on the DB.
Hey,

Yeah litewarez it's true, but still, we are working with someone who is learning PHP and therefor I didn't give him any code that he wouldn't understand .

I have been coding (not part of my job/uni) PHP for many years now and I never even used the '&' sign or anything

Anyways, just had a look at your code, and that would work too.
Whoo Reviewed by Whoo on . PHP List Hierarchy http://lulzimg.com/i02/13ed837b.png Can you suggest how I output these to an expanding/collapsing hierarchy? Example: http://jqueryui.com/demos/accordion/ Although the accordian is great, it wont work unless I output the html correctly which i'm finding very hard to do. Here is the page with my current code: http://filewi.re/releases.php And the code itself: http://code.google.com/p/filewire/source/browse/trunk/includes/releases.php Rating: 5