0
我有问题将html转换为pdf我正在使用TCPDF,我试图得到以下内容。和它不工作:(如何使用file_get_content与PHP包括
$html = htmlspecialchars_decode(file_get_contents('main.php'));
$html = htmlspecialchars_decode(file_get_contents('main.php'));
html = file_get_contents('main.php');
我main.php包含以下代码。
<?php
include_once 'design/header.php';
include_once 'mainpage.php';
include_once 'design/sidemenu.php';
include_once 'design/footer.php';
?>
有人可以帮我吗?
基本上我在HTML表格使用产生的生成PHP循环和从数据库中获取信息,用户可以将chnages添加到表值,一旦完成,他们可以点击提交,它应该生成一个pdf文件。
ca ñ有人帮我这个?
请定义'not working';你有错误吗?空白页? ... – 2012-07-28 12:48:10