php读取数据库内容保存到excel里 求教下,按照字段保存到一个表格了 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 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";运行试试,扩展以上代码就行了。 如果比较复杂可以是用phpexcelhttp://hi.baidu.com/zcx1357/blog/item/a0b89736b116d52e0b55a95a.htmlhttp://phpexcel.codeplex.com/ PHP深层扫描 程序下载下来的图片 打不没有预览 啥原因 在线等 php和flash交互 后台返回中断 邮件的发送,在本地可以,传到租用的服务器上就不行了????????? 请问PHP有没有生成图饼的代码,跪求啊! 求一SQL写法(要求通用的,至少在MYSQL和PostgreSQL中可用) php cookie设置的概念问题 为什么我在linux下不能用fwrite函数? ?在邮件系统中LDAP是干什么用的? postfix是什么 ?那位能解释一下? 求一条sql语句,涉及到语句内的求差 求积 求和(mysql) 文件上传类型限制 朋友问我一个PHP的问题,自己不会,所以跑来问大家!!
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";
运行试试,扩展以上代码就行了。
http://hi.baidu.com/zcx1357/blog/item/a0b89736b116d52e0b55a95a.htmlhttp://phpexcel.codeplex.com/