Jump to content

Recommended Posts

Hey

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.
thanks
Sean
Link to comment
https://forums.phpfreaks.com/topic/16629-help-im-a-newbie/
Share on other sites

If you wanna start creating your own cms system I suggest you first find the best information you can get on cms system's and use: http://www.mamboserver.com as a startingpoint, dig into the code, try to translate what you see and try to understand it! I did it a few times, it helped me at a few points also http://www.getvanilla.com is another nice startingpoint this is a forum however...
Link to comment
https://forums.phpfreaks.com/topic/16629-help-im-a-newbie/#findComment-69752
Share on other sites

Actually i dont think its that hard...
The VERY simple one I think is: (pseudo code)
set up the db
make the fields
and edit

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()";
Link to comment
https://forums.phpfreaks.com/topic/16629-help-im-a-newbie/#findComment-69768
Share on other sites

thanks for the help
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?
thanks
Link to comment
https://forums.phpfreaks.com/topic/16629-help-im-a-newbie/#findComment-69786
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.