gijgo icon indicating copy to clipboard operation
gijgo copied to clipboard

loadData via PHP

Open reneH opened this issue 5 years ago • 1 comments

Is there any example to load Data via PHP instead of ASP.NET ?

reneH avatar Feb 07 '20 10:02 reneH

$page = $this->request->getVar('page'); $limit = $this->request->getVar('limit'); $configModel = $this->configModel; $count = $configModel->countAll(); $configModel = $configModel->select('id, cname, ename, values, dt_type, cf_type'); // Select * from table limit ($Page- 1) * $PageSize, $PageSize // $configModel = $configModel->limit($limit); // $configModel = $configModel->offset(($page - 1) * $limit); $configModel = $configModel->get(); $confRes = $configModel->getResultArray(); $jsonConfRes = json_encode($confRes, JSON_UNESCAPED_UNICODE);

nabadao avatar Mar 21 '20 05:03 nabadao