时间:2021-07-01 10:21:17 帮助过:54人阅读
测试例
header("Accept-Ranges: bytes");header("Content-type: application/vnd.ms-excel");header("Content-Disposition: attachment; filename=".@$filename);$ar = array( "abcd123", "再来一段换行再换行");echo "序号\t备注\n";foreach($ar as $k=>$v) { echo "$k\t\"$v\"\n";}
测试例
header("Accept-Ranges: bytes");header("Content-type: application/vnd.ms-excel");header("Content-Disposition: attachment; filename=".@$filename);$ar = array( "abcd123", "再来一段换行再换行");echo "序号\t备注\n";foreach($ar as $k=>$v) { echo "$k\t\"$v\"\n";}
测试例
header("Accept-Ranges: bytes");header("Content-type: application/vnd.ms-excel");header("Content-Disposition: attachment; filename=".@$filename);$ar = array( "abcd123", "再来一段换行再换行");echo "序号\t备注\n";foreach($ar as $k=>$v) { echo "$k\t\"$v\"\n";}