So I’m working on an HTML site that I’d like for the client to be able to update on his own. I figure the best way is to have some text fields that pick up their text from a .txt that he could update with a simple PHP submit form.
Ok, so I get what it NEEDS to do, but I have no idea how to do it.
- How do I tell HTML to get its text from another file? I know how to do it in Flash, but not HTML
- How do I write the PHP so that when he hits “submit” on the form, it overwrites the old text?
Bonus #3, not ESSENTIAL but it’d be nice) Would there be a way to make it so that when the submit form page opened up, it would display what was already in the file? This way he could add to it without having to retype what was already there?