|
发表于 2015-11-24 16:52:14
|
显示全部楼层
我的好像不行 出现了这个错误PHP复制代码 $query = $this -> db -> get('tender_apply');
$data=$query->result_array();
$title = $this->db->list_fields('tender_apply');
$this->load->library('Excels');
// 如有遇到乱码或者 中文不显示 需要转码 最终以二维数组形式传入
// iconv("gb2312","utf-8","姓名");
$this->excels->exports($data,$title); // 传入的为二维数组
exit; 复制代码
|
-
错误
|