Creating a Directory

Questions about the MySQL, PostgreSQL, and most other databases, as well as using it with PHP can be asked here.

Moderator: General Moderators

Post Reply
Sleeve
Forum Newbie
Posts: 17
Joined: Wed Jan 22, 2003 12:39 am

Creating a Directory

Post by Sleeve »

Hello-

I need to create a small directory for a client and I need some advice on how to structure the database so I can run queries for a dynamic subdirectory structure.

Basically, new subdirectories will be created as needed and I don't want to have to rewrite the code to run a DB query for each new subdirectory. Any advice would be appreciated.

Regards,

Sleeve
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

sounds like tree menuing...The following may be of interest
Useful Posts wrote:Tree menus using database: Creating Menu Tree using PHP and MYSQL
Sleeve
Forum Newbie
Posts: 17
Joined: Wed Jan 22, 2003 12:39 am

Post by Sleeve »

Yes, Perfect. Thank you feyd
Post Reply