- //excel输出
- header('Content-Type: application/vnd.ms-execl');
- header('Content-Disposition: attachment; filename=sogouMall.xls');
- header('Pragma: no-cache');
- header('Expires: 0');
- echo iconv('UTF-8','GBK',"序号\t串号\t手机型号\t安装省份\t安装时间\t\n");
- //参考上一行写就行了【\t另起一列 \n另起一行】
简单PHPexcel
最新推荐文章于 2024-01-05 11:36:15 发布