帮我看一下,如何排序啊
$this->db->where('type','exercise');$this->db->from('viandpr');
$this->db->order_by("id","desc");
$mycount = $this->db->count_all_results();
怎么实现不了按id倒序排列啊,请高手指教~ count_all_results 是取记录总数,相当于 count,他只返回一个数字,这怎么排序??????????:L :L....... :lol 愁人
页:
[1]