Results 1 to 5 of 5
Thread: Long, long list of files
Aug 29, 2011, 06:31 #1
- Join Date
- Jan 2007
- 0 Post(s)
- 0 Thread(s)
Long, long list of files
Okay, so my Third website is rolling along pretty nicely, but I think I have a craftsmanship question.
The site consists of a simple header, a menu down the left, of about 30 items (let's call them recipes or catalog pages but they're not), and a text box on the right. Works like a charm. The menus are in PHP includes, because....
There are a lot of these recipes. I just loaded number 200 into HTML, and I'm just past halfway. I can't have a 400-line menu down the side of the page, so I've divided the items into 30-piece chapters. The user calls Chapter 3; he gets the menu for Chapter 3 (which is in the includes folder) down along the left side of the page, containing links to the designated text items.
Now, I've got 200 recipe pages in the web page folder. I could see how somebody would say hey, that's too big, it's unprofessional, you gotta set these chapters back in folders and call the pages up outa there. But I can't seem to make PHP do this and I'm not sure that I really need to anyway.
So: The first question is, is it considered gauche to have a home or root or whatever they call it folder with 400 files in it; and if it is, how do I make PHP call the files out of the folders, with the included menus, and display them? I tried a whole bunch of combinations of folder locations and slashes and no slashes in the links, to no avail so far....
Thank you for your kind attention.