Welcome Guest, Not a member yet? Register   Sign In
Limit problem
#1

[eluser]Unknown[/eluser]
Code:
$this->db->limit(10,20);

Show only first 10 records from table !!!
#2

[eluser]elvix[/eluser]
second argument is the offset. in your case, it should be 0.

the manual's database / activerecord section details how all these functions work.
#3

[eluser]Unknown[/eluser]
Running only in this way:

Code:
$this->db->limit(20,10);




Theme © iAndrew 2016 - Forum software by © MyBB