Welcome Guest, Not a member yet? Register   Sign In
Escaping input with Active Record
#2

[eluser]chobo[/eluser]
Quote:CodeIgniter uses a modified version of the Active Record Database Pattern. This pattern allows information to be retrieved, inserted, and updated in your database with minimal scripting. In some cases only one or two lines of code are necessary to perform a database action. CodeIgniter does not require that each database table be its own class file. It instead provides a more simplified interface.

Beyond simplicity, a major benefit to using the Active Record features is that it allows you to create database independent applications, since the query syntax is generated by each database adapter. It also allows for safer queries, since the values are escaped automatically by the system.


Messages In This Thread
Escaping input with Active Record - by El Forum - 08-23-2007, 11:47 PM
Escaping input with Active Record - by El Forum - 08-24-2007, 12:22 AM



Theme © iAndrew 2016 - Forum software by © MyBB