//模板地址:https://blog.csdn/qq_38003021/article/details/79981193admin管理员组文章数量:1609530
$csvPathFile = 'X:\mysoft\myServer\www\localhost\data\123.xls';//自制模板
$startDay = '2017-10'; $endDay = '2017-11'; $dataList = [ ['name' => '学历不够,技术来凑', 'value' => '中国', 'coin' => 1, 'time' => 1523810619 ], ['name' => ' 学历不够,技术来凑2', 'value' => '法国', 'coin' => 2, 'time' => 1523810622 ], ['name' => ' 学历不够,技术来凑3', 'value' => '英国', 'coin' => 3, 'time' => 1523810633 ], ['name' => ' 学历不够,技术来凑4', 'value' => '德国', 'coin' => 4, 'time' => 1523810654 ], ]; header("Content-Type: application/vnd.ms-excel;charset=utf-8"); header("Content-Disposition: attachment; filename= bbb.xls" ); header("Pragma: no-cache"); header("Expires: 0");
include($csvPathFile);
exit;
本文标签: Excel
版权声明:本文标题:Excel制作+导出 内容由热心网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:https://www.elefans.com/dongtai/1728571221a1164203.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论