简单的把数据以Excel表格的形式下载下来.....

<?php
header("Content-type:application/vnd.ms-excel");
header("Content-Disposition:attachment;filename=vipnumber.xls");
?>
<table border="1" cellspacing="0" cellpadding="0" >

<tr>

<th width="300">会员卡号</th>
<th width="200">推荐人</th>
<th width="200">销售人</th>
<th width="200">操作员</th>


</tr >

<tr>
<td style="vnd.ms-excel.numberformat:@">123123</td>
<td>
张三
</td>
<td>
李四
</td>
<td>
管理员
</td>

</tr>

</table>

posted on 2013-10-17 17:54 傻蛋他哥 阅读( ...) 评论( ...) 编辑 收藏

转载于:https://www.cnblogs.com/xiaoguangxi/p/3374625.html

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值