News Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

DevShed:
Using Code Igniter to Enable Comments in a Blog Application
December 31, 2008 @ 07:50:56

DevShed continues their series on using CodeIgniter to make a simple blogging application with this new article. It focuses on the next step in the blog's evolution - making it able to accept user comments.

A decent blog application, however, must provide users with a mechanism that lets them post their comments easily, and the simplest way to do this is via an HTML form. Therefore, in the next few lines, I'll be explaining how to modify the controller class and the comments view file created in the preceding article to incorporate a basic web form that permits users to post comments on a particular blog entry.

They start by reviewing the code and application so far, ensuring we're all on the same page. From there, they add code into the controller to handle the form input and make a view to create the form itself.

7 comments voice your opinion now!
codeigniter framework tutorial blog application comment form view controller


blog comments powered by Disqus

Similar Posts

Cognify.com: Write Your Own Virtual Host Control Panel - Part 1

Rob Allen's Blog: A form in your layout

PHPKitchen: Seagull 0.6.0 Released

Felix Geisendorfer's Blog: Two Tutorials - Title to Slug & Dependencies with If

Alex Inführ: PHP non alpha numeric 7 and 6 char code


Community Events





Don't see your event here?
Let us know!


bugfix interview podcast package tips list library symfony install laravel deployment opinion api framework introduction voicesoftheelephpant series community release language

All content copyright, 2014 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework