Welcome Guest, Not a member yet? Register   Sign In
Bug in Active Record
#1

[eluser]Wades[/eluser]
this bug happens when we custom key/value method:

normally, if we use
Code:
$this->db->where('name !=', $name);
then we will get
Code:
// Produces: WHERE name != 'Joe'

but if we use
Code:
$this->db->where('name!=', $name);
(without space between name and !=)
we will get
Code:
// Produces: WHERE 'name!=''Joe'


Messages In This Thread
Bug in Active Record - by El Forum - 03-12-2009, 09:52 AM
Bug in Active Record - by El Forum - 03-12-2009, 10:08 AM



Theme © iAndrew 2016 - Forum software by © MyBB