hex1a4
04-10-2008, 01:52 PM
Hi,
I'm creating a database-driven links directory with multi-level sub-categories, but am having trouble coming up with the correct logic of what to do. I can figure out the code for myself, but need to know what to do before figuring out how to do it.
I have two tables: 'links' and 'categories'.
'links' contains all the links in these fields: 'id', 'catid', 'url', 'title', 'desc'
'categories' has these fields: 'id', 'pid', 'title', 'keyword', 'desc'
Thank you for your help.
I'm creating a database-driven links directory with multi-level sub-categories, but am having trouble coming up with the correct logic of what to do. I can figure out the code for myself, but need to know what to do before figuring out how to do it.
I have two tables: 'links' and 'categories'.
'links' contains all the links in these fields: 'id', 'catid', 'url', 'title', 'desc'
'categories' has these fields: 'id', 'pid', 'title', 'keyword', 'desc'
Thank you for your help.