Changing text from database
Posted: Sat Aug 15, 2009 12:03 pm
Hey,
I'm making a website for my band. What I'm needing is to be able to change the body text (not the whole page), I have coded a script that can make a post for our blog. I was wondering how (if i put all the body text for the other pages in to a database) I could take the text out of the database and show it in a text box, that i can edit then press submit and it would change the text in the database.
Then when you view the page, the changes would be made. This would make it easier so i don't have to change the php page, and then upload the file. I can do everything from the site.
OH YES!! i forgot to tell you that i DO have a login script that i'm using so that no one but THE BAND can change anything.
THANKS IN ADVANCE
PS: hopefully you understand. if you don't, ask me questions i'm always open.
I'm making a website for my band. What I'm needing is to be able to change the body text (not the whole page), I have coded a script that can make a post for our blog. I was wondering how (if i put all the body text for the other pages in to a database) I could take the text out of the database and show it in a text box, that i can edit then press submit and it would change the text in the database.
Then when you view the page, the changes would be made. This would make it easier so i don't have to change the php page, and then upload the file. I can do everything from the site.
OH YES!! i forgot to tell you that i DO have a login script that i'm using so that no one but THE BAND can change anything.
THANKS IN ADVANCE
PS: hopefully you understand. if you don't, ask me questions i'm always open.