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

DevShed:
Inserting, Updating and Deleting Database Rows with Code Igniter
Sep 24, 2008 @ 17:03:27

DevShed continues their series focusing on the CodeIgniter framework with the seventh part - a look at interacting with the database to update, delete and insert rows from your application.

You've seen some of the things you can accomplish with the Code Igniter PHP framework in earlier parts of this series. In this seventh part of the series, you will learn, through copious examples, how to perform insertions, updates and deletions on a selected MySQL table by using Code Igniter's database class. You'll see that these tasks are very intuitive and easy to grasp, thanks to Code Igniter's friendly learning curve.

They show how to make conditional select statements (with where clauses) and do both inserts of new information and updates to current information, all with the built-in model functionality the framework provides.

tagged: codeigniter framework tutorial update delete insert conditional

Link:


Trending Topics: