Welcome Guest, Not a member yet? Register   Sign In
No recognize null values with db->limit() VS db->get that
#1

[eluser]Unknown[/eluser]
Hi people! I found a question that I think that's a bug Wink

1r= $qry = $this->db->get($this->n_table, $num, $offset);
if I set $num and $offset whit value null, the function hive me a correct response
2n= $this->db->limit($num, $offset);
but I if use this function, the function doesn't recognize the values as null and think that the values is 0.

So, the 1r recognize the null values and return me the correct result of the query and 2n no recognize the null values and return me a empty Array.


Anybody can tell me why?


Tnx x all! Tongue


Messages In This Thread
No recognize null values with db->limit() VS db->get that - by El Forum - 02-17-2012, 05:18 PM



Theme © iAndrew 2016 - Forum software by © MyBB