本文整理汇总了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>";
}