How to create a "Map of items" something like sitemap

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
iceangel89
Forum Commoner
Posts: 39
Joined: Mon Jul 02, 2007 7:02 pm

How to create a "Map of items" something like sitemap

Post by iceangel89 »

how can build up something like a site map where 1 site map node can have many child site map nodes and these child can have more children, etc? not actually doing a site map but its similar to it.

any suggestions? i am thinking, i need something that i can "add children" so i thought of XML. what do you think? and how should i go about doing this?

Edit: forgot to say, my DB is something like
- ItemID
- ParentID (Referencing ItemID) - Recursive relationship
- Item stuff... title etc
Post Reply