手记

〇〇五章 php生成excel最简单方法

<?php
header("Content-type:application/vnd.ms-excel");
header("Content-Disposition:filename=test.xls");
echo "test1\t";
echo "test2\t\n"; //两列之后换行
echo "test1\t";
echo "test2\t\n";
echo "test1\t";
echo "test2\t\n";
echo "test1\t";
echo "test2\t\n";
echo "test1\t";
echo "test2\t\n";
echo "test1\t";
echo "test2\t\n";
?>

3人推荐
随时随地看视频
慕课网APP

热门评论

看不到呢这是转还是怎么的

查看全部评论