PHP Excel导出头部
<?php
header("Content-Type: application/vnd.ms-excel");
header( "Content-type: application/octet-stream" );
$jiesuan = iconv("UTF-8", "gbk", "订单明细.xls");
header("Content-Disposition: attachment; filename=$jiesuan");
header( "Cache-Control: must-revalidate, post-check=0, pre-check=0" );
header("Pragma: no-cache");
header("Expires: 0");
?>以table表格的形式导出
本文由:xiaoshu168 作者:xiaoshu发表,转载请注明来源!