Codeigenator篝火fetch_row不起作用?

时间:2016-07-11 04:12:33

标签: php codeigniter-3 bonfire

检查以下代码:

$data["results"] = $this->useer_model->mysqli_fetch_row($config["per_page"], $page);
$str_links = $this->pagination->create_links();
$data["links"] = explode(' ',$str_links );

1 个答案:

答案 0 :(得分:0)

请尝试此操作以获取数据

$data['result']=$this->db->get('Table', limit, offset)->result();
foreach($data['result'] as $value){
 echo $value->coloum_nam;