Welcome Guest, Not a member yet? Register   Sign In
It's not return false, If update failed
#1

[eluser]luffy[/eluser]
Hi, everyone

I use the method
return $this->db->update(table, $data);

it returns 1

But the sql is wrong. it still return 1?

How to return false?


Messages In This Thread
It's not return false, If update failed - by El Forum - 11-26-2009, 01:31 AM
It's not return false, If update failed - by El Forum - 11-26-2009, 02:27 AM
It's not return false, If update failed - by El Forum - 11-26-2009, 02:39 AM
It's not return false, If update failed - by El Forum - 11-26-2009, 03:11 AM
It's not return false, If update failed - by El Forum - 11-26-2009, 03:30 AM
It's not return false, If update failed - by El Forum - 11-26-2009, 03:45 AM
It's not return false, If update failed - by El Forum - 11-26-2009, 03:50 AM



Theme © iAndrew 2016 - Forum software by © MyBB