i have a problem with html2pdf... instead of
$fp = fopen("sample.html","r");
$strContent = fread($fp, filesize("sample.html"));
i changed it to
$fp = fopen("sample.php","r");
$strContent = fread($fp, filesize("sample.php"));
my problem is.. it will not read the php scripts.. like <?php echo "sample";?> it will not display sample on pdf format..in short it will not read php scripts..
help me please...