本文整理匯總了PHP中WriteTableData函數的典型用法代碼示例。如果您正苦於以下問題:PHP WriteTableData函數的具體用法?PHP WriteTableData怎麽用?PHP WriteTableData使用的例子?那麽, 這裏精選的函數代碼示例或許可以為您提供幫助。
在下文中一共展示了WriteTableData函數的3個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的PHP代碼示例。
示例1: ExportToWord
function ExportToWord()
{
global $cCharset;
header("Content-Type: application/vnd.ms-word");
header("Content-Disposition: attachment;Filename=Customer_Module_Assignment.doc");
echo "<html>";
echo "<meta http-equiv=\"Content-Type\" content=\"text/html; charset=" . $cCharset . "\">";
echo "<body>";
echo "<table border=1>";
WriteTableData();
echo "</table>";
echo "</body>";
echo "</html>";
}
示例2: ExportToWord
function ExportToWord($cipherer)
{
global $cCharset;
header("Content-Type: application/vnd.ms-word");
header("Content-Disposition: attachment;Filename=pad_pad_daftar_hist.doc");
echo "<html>";
echo "<meta http-equiv=\"Content-Type\" content=\"text/html; charset=" . $cCharset . "\">";
echo "<body>";
echo "<table border=1>";
WriteTableData($cipherer);
echo "</table>";
echo "</body>";
echo "</html>";
}
示例3: ExportToWord
function ExportToWord($rs, $nPageSize, $strTableName, $eventObj, $cipherer, $pageObject)
{
global $cCharset;
header("Content-Type: application/vnd.ms-word");
header("Content-Disposition: attachment;Filename=".GetTableURL($strTableName).".doc");
echo "<html>";
echo "<meta http-equiv=\"Content-Type\" content=\"text/html; charset=".$cCharset."\">";
echo "<body>";
echo "<table border=1>";
WriteTableData($rs, $nPageSize, $strTableName, $eventObj, $cipherer, $pageObject);
echo "</table>";
echo "</body>";
echo "</html>";
}