[eluser]joneslee[/eluser]
Hi everyone,
Can someone show me the algorithm how I could recursively create folder from a 'categories' DB?
My 'categories' table
id -> int (11)
cat_id -> int(11)
the folder I would like to create will based on the 'id'
Please note that 0 is the highest level
Eg 0 ___ 65
|___ 6____|___ 66
|___ 2____ 15
Many thanks,