Welcome Guest, Not a member yet? Register   Sign In
subtle gotcha using query bindings
#2

[eluser]batteries[/eluser]
for complicated queries i build them first, too. to avoid this kind of situation.

also, why are you creating the key name 'roles' in:

Code:
$query = $this->db->query($sql, array(’roles’ => $roles));

?


Messages In This Thread
subtle gotcha using query bindings - by El Forum - 07-09-2007, 07:22 PM
subtle gotcha using query bindings - by El Forum - 07-10-2007, 12:32 AM



Theme © iAndrew 2016 - Forum software by © MyBB