Hey, I'm making a very simple CMS to practice my PHP and MySQL. Please let me know if you think I am heading in the right direction & give suggestions.
I have tables for: Header, Sidebar, Navigation, Page1 content, Page2 content, ext...
each table stores the output. For example the navigation talbe is made up of 3 fields: ID. URL, Anchor Text.
I then insert PHP into the website that retrieves the info from my database and inserts it into the HTML. I use loops so it will output all rows.
I then made ADMIN area that allows the user to update/delete or add information into the database.