I'm building a website using PHP and want the site admin to be able to change the page content without actually having to access the source. There will only be a set number of pages, so there's no need for add/delete abilities.
At the moment I have a php file for each page and a function which reads the correct content in based on the file name. I figured this would be quite search engine/ user friendly, the only downside I can see is that I have multiple pages with exactly the same content, this seems quite inefficient to me.
Does anyone have any better ideas as to how this could be done?
You should have a single script on user-side which displays data according to some parameter passed. There is no point in creating multiple files which all do the same.