CodeIgniter Forums
Codeigniter active record - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20)
+--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23)
+--- Thread: Codeigniter active record (/showthread.php?tid=49747)



Codeigniter active record - El Forum - 03-01-2012

[eluser]Unknown[/eluser]
Does active record class has a special feature in order to prevent from sql injection ? If not , what can we do for it ?


Codeigniter active record - El Forum - 03-01-2012

[eluser]CroNiX[/eluser]
Did you happen to read the user guide for active record? It states what happens numerous times (6) in pink.


Codeigniter active record - El Forum - 03-01-2012

[eluser]solid9[/eluser]
Active record that's the safest in CI.


Codeigniter active record - El Forum - 03-01-2012

[eluser]Rolly1971[/eluser]
right from the user guide:

Quote:It also allows for safer queries, since the values are escaped automatically by the system.