Sitemap stored in DB

admin

Administrator
Staff member
hi!

i'm soon re-designing a homepage, which i made two years ago. during this time, i learned a lot and so i'll focus coding the new site with a lot of dynamic helpers (php/mysql).

so i'm wondering how to realize a navigation-bar (left handed) with all the site-content - and it should all coming out of a database-table.

every sub-page will be accessible with a unique id.

my problem: there will be sub-items, only visible when their parent is selected (tree-view like). i didn't have a good idea how to build this in a logical database-structre - how to define this hierarchy with the means i have.

what are your proposes?

thx
mario
 
Back
Top