Jump to content

Storing hierarchical data in a database


Damama

Recommended Posts

Hello Phpfreaks

 

On my website I use a menu with submenu's. These data is stored in one table. I use the next script:

http://www.plaatscode.be/5226/

My question is now: is this a good method? The code works, but is there a better way? Because now, I've got to use a query for each item.

 

Thanks in advance

 

David Roelandt

Link to comment
https://forums.phpfreaks.com/topic/87589-storing-hierarchical-data-in-a-database/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.