Welcome Guest, Not a member yet? Register   Sign In
HELP: Recursive creation of categories folder
#1

[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,


Messages In This Thread
HELP: Recursive creation of categories folder - by El Forum - 02-03-2009, 07:17 PM
HELP: Recursive creation of categories folder - by El Forum - 02-03-2009, 09:43 PM
HELP: Recursive creation of categories folder - by El Forum - 02-03-2009, 10:00 PM



Theme © iAndrew 2016 - Forum software by © MyBB