Hi mrhappiness
thanx for you help:
What is this fucntion intended to do?
this functinos intend to go over tblAdminsSections and display my categories tree hierarchicly.
What does it do?
when i run this function now i get the Zero level and the 1st sub-level okay, but it is not showing the next sub levels, they are shown in the first sub-level.
What does it not do?
it's not displaying the tree as it should be.
Why do you order by the string 'showOrder' which will be the same for every entry in your table?
the showOrder is not the same. every "sub category" have it's own show order hierarchicly
Why don't you order bythe column showorder?
good idea. i will do that.
Why do you put the parent-ID into '? Is it not numeric?
it is numeric, i'm simply used to use '