Welcome Guest, Not a member yet? Register   Sign In
Database class adding graves ("`") where they don't belong
#2

[eluser]fesweb[/eluser]
You can make it stop that by passing an extra parameter (FALSE) to the db function.

Example using a different function - in this case, it's the third parameter:
Code:
$where = "LEFT(`p`.`name_last`, 1) <= 'g'";
$this->db->where($where, NULL, FALSE);

Good luck...


Messages In This Thread
Database class adding graves ("`") where they don't belong - by El Forum - 11-14-2008, 02:53 PM



Theme © iAndrew 2016 - Forum software by © MyBB