Welcome Guest, Not a member yet? Register   Sign In
How can I get active records NOT to add single quotes to int values?
#5

[eluser]boltsabre[/eluser]
Well can't you just split your $data array then, something like:
Code:
$this->db->where( $data[0], $data[1], FALSE);  // numeric array

// or
$this->db->where( $data['column_name'], $data['column_value'], FALSE);  // associative array


Messages In This Thread
How can I get active records NOT to add single quotes to int values? - by El Forum - 05-22-2013, 04:43 AM



Theme © iAndrew 2016 - Forum software by © MyBB