苗火 Nicholas
[php]An example of excel output
2016-2-18 萧
<?php
header("Content-type:application/vnd.ms-excel");
header("Content-Disposition:attachment;filename=Export_test.xls");
$tab="\t"; $br="\n";

$head="NO.".$tab."Message".$br;
echo $head.$br;

echo "test321318312".$tab;
echo "string1";
echo $br;

echo "330181199006061234".$tab;
echo "number";
echo $br;

echo "=\"330181199006061234\"".$tab;
echo "string2";
echo $br;
?>
发表评论:
昵称

邮件地址 (选填)

个人主页 (选填)

内容