<?php
header("Content-type:application/vnd.ms-excel");
header("Content-Disposition:filename=�你的文件名.xls");
<table>
<tr><th>a</th><th>b</th></tr>
<tr><td>1</td><td>2</td></tr>
</table>
?>
<?php
header("Content-type:application/vnd.ms-excel");
header("Content-Disposition:filename=�你的文件名.xls");
<table>
<tr><th>a</th><th>b</th></tr>
<tr><td>1</td><td>2</td></tr>
</table>
?>
本文标题:php简单导出Excel
本文链接:https://www.haomeiwen.com/subject/upyypttx.html
网友评论