按此方法出现乱码现象,不知道楼主是否可以帮忙瞧瞧
控制器代码:
<?php
class Export extends Admin_Page
{
public function __construct()
{
parent::__construct();
$this->load->library("excels");
}
public function index()
{
$content = $_POST["datalist"];
$title = $_POST["titlelist"];
$this->excels->exports($content,$title);
echo 0;
}