$data['reg'] = $this->register->registerAcc($schoolID);
$data['upd'] =$this->register->UpdateAcc($schoolID);
$data['sus'] =$this->register->suspendAcc($schoolID);
$this->load->view('account/accountInfo',$data);
这是我的代码,由更新、注册和暂停组成。每个功能都有自己的“日期/时间”
函数的每一端都有这样的代码:
$this->db->order_by('register_Date','DESC');
每个函数都有自己的日期,例如 register_Date , updateAcc_Date
但是我有一个问题,当我在页面中显示时,列表将从
Date Function UserName
05-09-2019 Register Tom
04-09-2019 Register Bors
01-09-2019 Register Berry
03-09-2019 Update Laxy
05-09-2019 Suspend Loi
我想要的是
Date Function UserName
05-09-2019 Register Tom
05-09-2019 Suspend Loi
04-09-2019 Register Bors
03-09-2019 Update Laxy
01-09-2019 Register Berry
慕丝7291255