Jump to content

Archived

This topic is now archived and is closed to further replies.

thatniqqasean

help im a newbie : >

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

Share this post


Link to post
Share on other sites
This is called a content management system. There are free ones about which you could use. If you plan on making your own, it will take quite a lot of time and wont be easy.

Share this post


Link to post
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...

Share this post


Link to post
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()";

Share this post


Link to post
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

Share this post


Link to post
Share on other sites
ur starting out WAY to hard then.... if you try to start by doing a huge complex project its just gunna get you mad and frustrated.... start off easy .... like buy a book or something...then when ur ready start something like this!

Share this post


Link to post
Share on other sites

×

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.