help im a newbie : >
Posted 05 August 2006 - 10:58 AM
I'm looking around everywhere for a really simple kind of php script where an admin can sign in, and edit parts of the website via text only.
eg. he signs in and wants to change the home text in a text box he types "welcome to blah blah" and it'll show up on the home page.
I've been editing othe scripts, searched for a script like this.. and gave up
help would be very apreciated.
Posted 05 August 2006 - 11:16 AM
Posted 05 August 2006 - 12:13 PM
Posted 05 August 2006 - 12:55 PM
The VERY simple one I think is: (pseudo code)
set up the db
make the fields
So like you could have db with teh fields: id, txt, eTime; setting id as autoincremement.
and then for every post you set up, add an id. and then when you want to modify it, just use the sql query with: "UPDATE dbname SET txt='$text', eTime=now()";
Posted 05 August 2006 - 01:31 PM
yeah what you said silentwf is proably what id do as those content management scripts are too big with too many features.
i've worked with php a little but i've never started a db and wrote out from scratch is there any tutorials on that?
Posted 05 August 2006 - 05:19 PM
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users