「PHPの学習」phpでexcelドキュメントを生成するサンプル
phpコード:
<?
header(“Content-type:application/vnd.ms-excel");
header(“Content-Disposition:filename=startnews24_test.xls");
echo “test1t";
echo “test2tn";
echo “test1t";
echo “test2tn";
echo “test1t";
echo “test2tn";
echo “test1t";
echo “test2tn";
echo “test1t";
echo “test2tn";
echo “test1t";
echo “test2tn";
?>