Welcome Guest, Not a member yet? Register   Sign In
Securing applications
#6

[eluser]drewbee[/eluser]
That is correct, Bohboh.

All of the following types are properly escaped automatically:

$data = array('test' => 'bah');
$this->db->insert('table', $data);
$this->db->update('table', $data);
$this->db->delete('table', $data);

and of course binding...

$this->db->query("SELECT col FROM table WHERE col = ?", array('value'));


Messages In This Thread
Securing applications - by El Forum - 10-30-2008, 06:31 AM
Securing applications - by El Forum - 10-30-2008, 06:40 AM
Securing applications - by El Forum - 10-30-2008, 07:26 AM
Securing applications - by El Forum - 10-30-2008, 07:38 AM
Securing applications - by El Forum - 10-30-2008, 10:08 AM
Securing applications - by El Forum - 10-30-2008, 10:14 AM



Theme © iAndrew 2016 - Forum software by © MyBB