php做出的报表如何生成excel呀? 能提供详细一点的实现方法吗,感谢。或者发到我邮箱:[email protected] 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 把php输出的结果存入后缀为xls的文件里即可 简单一点的方法,你自己再研究研究。用php生成excel文件<?header("Content-type:application/vnd.ms-excel");header("Content-Disposition:filename=test.xls");echo "test1\t";echo "test2\t\n";echo "test1\t";echo "test2\t\n";echo "test1\t";echo "test2\t\n";echo "test1\t";echo "test2\t\n";echo "test1\t";echo "test2\t\n";echo "test1\t";echo "test2\t\n";?> TOP:coolstr(占卜师) 的方法可用。 哇,这样也行?难道PHP内置支持MS的EXCEL文件格式,PFPF! 请注意这样的事实——excel可以用来编辑网页 用php可以做出能漂亮的报表,功能确实强大。比如呢?能给点例子吗? PHP,批量写入文件,急急!!!!! 如何去掉版权 Select的OnChange()事件 这是什么错误 Display width out of range for column 'id' (max = 255) php定时任务 关于PHP入侵的防范,懂得进来指教一二,谢谢 嵌套循环速度超慢~!怎么转换数据啊 PHP与Perl有什么关系啊 问题 amoeba搭建mysql集群时数据插入时出现这个错误 checkbox的问题! Notice: Undefined variable: PHP_SELF in F:\afeng\资源\033\index.php on line 4
<?
header("Content-type:application/vnd.ms-excel");
header("Content-Disposition:filename=test.xls");
echo "test1\t";
echo "test2\t\n";
echo "test1\t";
echo "test2\t\n";
echo "test1\t";
echo "test2\t\n";
echo "test1\t";
echo "test2\t\n";
echo "test1\t";
echo "test2\t\n";
echo "test1\t";
echo "test2\t\n";
?>
难道PHP内置支持MS的EXCEL文件格式,PFPF!
比如呢?能给点例子吗?