I'm putting together a way for someone with minimal technical skills to update a web page. I've thought of several avenues for this and wanted to pose these in hopes that someone could point me in the most efficient direction.
I'll use a newsletter page as an example. The page would have headines followed by text. The method of updating for the client would be through a form. The form would consist of several text boxes representing the text on the newsletter page.
First Way:
Create a PHP page utilizing include() in place of the text under each headline. On submission of the form the user input would be written to the appropriate include file. Then when the Newsletter page is viewed the includes display the updated info.
Second way:
Create a PHP page that pulls text from a database and places it under the appropriate headline in the newsletter page. The form would, as you could guess, be used to enter values in to the DB.
Third Way:
Use the form to update a database. Build a script to write the information from the DB to an HTML file. This way when a visitor views the Newsletter they are only viewing HTML and not PHP.
These are very simplified solutions. I'd appreciate feedback on whether these are plausible, efficient, or just dumb. =] I'm a newbie so I'm still learning to use the language to it's fullest.
Thanks in atvance for any help!
jaime