[eluser]Kenan[/eluser]
hi everybody) i have started learn the ci just a few days ago and absolutely myself so dont laugh please
so, i'm trying select 7 rows from the db starting from $start, when i use classic mysql_query("SELECT ...... LIMIT $start, 7",$db); it works perfectly, but when i do this:
$this->db->order_by('id','desc');
$this->db->limit(7,$start);
$this->db->where('cat',$cat);
$this->db->where('lesson',$lesson);
$query = $this->db->get('comments');
it works incorrect, the rows displaying shuffle intead of descending, and if the value of $start more than 60, it displaying nothing, as if there is no row in th field
i have read all doc, a lot of docs from other sites, but no result, what is worng? advice me right way please