<?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;
?>