怎么用php把查詢出來的文件導出成excel表格的形式?
我用的是這段代碼:
require_once("../lib/excelcreator.class.php");
$myxls = new ExcelCreator ("中文Excel");
$aTableHead = '
';
$aTableBody = '
';
$aTableBottom = '
';
$workSheet = $myxls->createWorkSheet ( "中文sheet1", $aTableHead, $aTableBody, $aTableBottom );。
上一篇然后答案返回給答題者