As you will quickly see, I’m quite new using php. I have been assigned the task of converting our website over from static html to database driven.
I believe I am over thinking my problem which is with trying to create the actual pages that will display the content for my nav links.
Do I have to physically create each page that the navigation links will point to or can I use a “categories” (name of main navigation table) id and have a categories.php page that will be populated with the main description and the information for the subcategories? The subcategories will be kept in their own table with appropriate descriptions and matched up with a catid column to the corresponding main nav links.
Would I then control the different “layout” of the categories page and subcategories page with if statements?
I keep thinking myself into circles. Thanks for any help.