Welcome Guest, Not a member yet? Register   Sign In
Use of protect identifier in sql
#1

[eluser]eroy4u[/eluser]
I'm using the latest version of codeigniter and I found using the database ActiveRecord, it will call a "protect identifier" function which will add "`" to the table fields,
is this feature here for security?

because I need to turn this feature off in some lines so I'm concerned about this point. Thanks.
#2

[eluser]Reneesh T K[/eluser]
If you need to add a field that is a keyword in sql like group or date, if we don't protect the field names with protect_identifiers it will make the sql error.

If you have any problem with protect identifiers please visit:
http://myphplibrary.blogspot.in/2012/09/...-with.html




Theme © iAndrew 2016 - Forum software by © MyBB