Welcome Guest, Not a member yet? Register   Sign In
$this->db->escape() - Fix.
#3

[eluser]barryskidmore[/eluser]
$this->db->insert_string() and $this->db->update_string() automatically call $this->db->escape() to quote.

Trying to use the helpers instead of just writing and escaping all my queries myself.

Considering I prefer to use database functionality over PHP where possible; I will probably stop using the DB helpers as they remove a layer of complexity in exchange for a layer of overhead.

I can however seeing someone making the same mistake I made and wondering why.


Messages In This Thread
$this->db->escape() - Fix. - by El Forum - 09-22-2008, 12:46 PM
$this->db->escape() - Fix. - by El Forum - 09-22-2008, 01:16 PM
$this->db->escape() - Fix. - by El Forum - 09-22-2008, 01:24 PM
$this->db->escape() - Fix. - by El Forum - 09-22-2008, 01:34 PM
$this->db->escape() - Fix. - by El Forum - 09-22-2008, 02:52 PM
$this->db->escape() - Fix. - by El Forum - 09-22-2008, 03:07 PM
$this->db->escape() - Fix. - by El Forum - 11-13-2008, 10:04 PM



Theme © iAndrew 2016 - Forum software by © MyBB