|
PHP复制代码
function readxls (){
$this->load->helper('file_helper');
$file_path = 'a.txt';
$data = explode("\n", read_file ($file_path));
foreach($data as $d){
$d_array = explode(' ', $d);
dump ($d_array);
}
//dump($data);
}
复制代码
框架中read_file()为什么读不出内容,谢谢各位
|
|