当前位置:首页> PHP教程> php基础
关键字
文章内容
php 生成 excel 文件
 
 
修改时间:[2010/06/06 10:56]    阅读次数:[818]    发表者:[起缘]
 
<?php
header
("Content-type:Application\vnd.ms-execl");
header("content-Disposition:filename=phpfans.net.xls");
?>
<
html xmlns="http://www.w3.org/1999/xhtml">
<
head>
<
meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<
title>php爱好着</title>
</
head>

<
body>
<
table width="600" border="1" cellpadding="0" cellspacing="0">
  <
tr>
    <
td colspan="4"><strong><a href="">php爱好着</a></strong><strong></strong></td>
  </
tr>
  <
tr>
    <
td width="121"><strong>代表人姓名</strong></td>
    <
td width="166">&nbsp;</td>
    <
td width="153"><strong>团队名称</strong></td>
    <
td width="150">&nbsp;</td>
  </
tr>
  <
tr>
    <
td><strong>现场联系电话:</strong></td>
    <
td>&nbsp;</td>
    <
td><strong>团队人数:</strong></td>
    <
td>&nbsp;</td>
  </
tr>
  <
tr>
    <
td><strong>角色出处:</strong></td>
    <
td>&nbsp;</td>
    <
td><strong>E-MAIL:</strong></td>
    <
td>&nbsp;</td>
  </
tr>
</
table>
</
body>
</
html

(非常全面的一个php技术网站, 有相当丰富的文章和源代码.)