PHP生成EXCEL表格
<?php
header("Content-type:Applicationvnd.ms-execl");
header("content-Disposition:filename=phpfans.net.xls");
?>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" c />
<title>php爱好者</title>
</head>
<body>
<table width="600" border="1" cellpadding="0" cellspacing="0">
<tr>
<td colspan="4"><strong><a href="http://www.phpfans.net">php爱好者</a></strong><strong></strong></td>
</tr>
<tr>
<td width="121"><strong>代表人姓名</strong></td>
<td width="166"> </td>
<td width="153"><strong>团队名称</strong></td>
<td width="150"> </td>
</tr>
<tr>
<td><strong>现场联系电话:</strong></td>
<td> </td>
<td><strong>团队人数:</strong></td>
<td> </td>
</tr>
<tr>
<td><strong>角色出处:</strong></td>
<td> </td>
<td><strong>E-MAIL:</strong></td>
<td> </td>
</tr>
</table>
</body>
</html>
header("Content-type:Applicationvnd.ms-execl");
header("content-Disposition:filename=phpfans.net.xls");
?>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" c />
<title>php爱好者</title>
</head>
<body>
<table width="600" border="1" cellpadding="0" cellspacing="0">
<tr>
<td colspan="4"><strong><a href="http://www.phpfans.net">php爱好者</a></strong><strong></strong></td>
</tr>
<tr>
<td width="121"><strong>代表人姓名</strong></td>
<td width="166"> </td>
<td width="153"><strong>团队名称</strong></td>
<td width="150"> </td>
</tr>
<tr>
<td><strong>现场联系电话:</strong></td>
<td> </td>
<td><strong>团队人数:</strong></td>
<td> </td>
</tr>
<tr>
<td><strong>角色出处:</strong></td>
<td> </td>
<td><strong>E-MAIL:</strong></td>
<td> </td>
</tr>
</table>
</body>
</html>