ashish
ashish

Reputation: 47

form that creates page and entry in database

Hi everyone I want to create a really simple cms in which once admin login , he can view 6 categories and then click the category in which he wants to add a new page. When he clicks on create new page under any category , he will see predefined fields that he needs to enter like page title , file name (like if he enters adc , then file abc.php will be created) and 4-6 others fields that goes into DB and shows on the page as well(once click on submit). So actually the admin will just be filling a form to create a page and entry in DB . I just want help with algorithm not the coding.

Upvotes: 0

Views: 247

Answers (1)

Alex
Alex

Reputation: 9481

This is very basic content creation in PHP, and is a great starting point for learning PHP. There's two main points you'll be covering: authentication and database relations. You need to authenticate (create a system which stops unauthorised users accessing certain pages), then be able to talk to the database (in order to list and create pages).

There are many, many resources about for learning PHP. Stack Overflow (while great) is unlikely to furnish you with a full tutorial.

Nettuts is a great resource for PHP; their PHP Roundup is particularly helpful. It contains, amongst many other articles, a CMS example and a screencast for a PHP login system.

Upvotes: 1

Related Questions