php简单导出Excel
2016-11-20 本文已影响0人
yundGo
<?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>
?>