Welcome Guest, Not a member yet? Register   Sign In
Active Record and SQL error
#11

[eluser]richie123[/eluser]
@nzmike: no, it different! $offset = 0 mean I query from the begining of a rows set

for example:
select * from user limit 0, 1 -> get 1st row
select * from user limit 1, 1 -> get 2nd row ...

I try this

Code:
if($offset!='')
   $this->db->limit(1, $offset);            
$query = $this->db->get('user');

but get the same result Sad


Messages In This Thread
Active Record and SQL error - by El Forum - 12-30-2008, 08:30 AM
Active Record and SQL error - by El Forum - 12-30-2008, 09:21 AM
Active Record and SQL error - by El Forum - 12-30-2008, 04:25 PM
Active Record and SQL error - by El Forum - 12-30-2008, 04:42 PM
Active Record and SQL error - by El Forum - 12-30-2008, 04:53 PM
Active Record and SQL error - by El Forum - 03-04-2009, 10:24 PM
Active Record and SQL error - by El Forum - 03-04-2009, 10:39 PM
Active Record and SQL error - by El Forum - 03-09-2009, 10:28 PM
Active Record and SQL error - by El Forum - 09-10-2009, 04:34 AM
Active Record and SQL error - by El Forum - 09-10-2009, 05:08 AM
Active Record and SQL error - by El Forum - 09-10-2009, 08:01 PM
Active Record and SQL error - by El Forum - 09-10-2009, 09:20 PM
Active Record and SQL error - by El Forum - 09-10-2009, 09:25 PM
Active Record and SQL error - by El Forum - 09-11-2009, 02:24 AM



Theme © iAndrew 2016 - Forum software by © MyBB