展开全部
不要32313133353236313431303231363533e78988e69d8331333361313262用 \t 制表符。
用
header("Content-type:application/vnd.ms-excel"); //excel头信息
header("Content-Disposition:attachment;filename=test_data.xls");
?>
编号: 门店 手机号码
//数据库查询
$dosql->Execute("select * from link_log order by id desc");
$i=$dosql->GetTotalRow();
while($result=$dosql->GetArray()){
$host=$result['host']; //门店
$mobile=$result['mobile']; //手机号码
?>
<?php echo $i;?><?php echo $host;?><?php echo $mobile;?>$i--;
}
?>