Using php, how would I edit the contents of a section of an html page permanently?

gosox345

New Member
so basically i have a text box and command button on my web page, I want to make it so that when i click the command button, it makes the contents of a <div> (which is located on a separate page) equal to the contents of the text box (and vice versa so when the text box loads its equal to the contents of the div). How would I do that? Im designing a website for a historical district that needs to be able to update their meeting minutes and their schedule and such onto the web at an instant.

thanks!
 

bozy12v

New Member
You got to use a database for that. You store the content of the textbox in a field in the database and than you query the database and display the content of that field in your <div>.
It's basic.
 

conor

New Member
If you are not familiar with any programing languages I recommend that you make use of one of the many open source Content Management Systems out there. They will handle most of the work for you!
 
Top