ESH/dynamic_pdf.php
2024-10-23 18:28:06 +05:30

40 lines
690 B
PHP

<?php
//header("Content-type: application/pdf");
//require_once("html2fpdf.php");
//include('top.php');
//include('pdf_header.php');
include('pdf_header_reverse.php');
// activate Output-Buffer:
ob_start();
?>
<html>
<link href="includes/css-js/admin.css" rel="stylesheet" type="text/css" />
<style type="text/css">
<!--
.style1 {font-size: small}
-->
</style>
<body>
<?php
$pdfVal ="";
if($_REQUEST['htmlText'] != "")
{
$pdfVal = $_REQUEST['htmlText'];
}
if($_REQUEST['purPdfText'] != "")
{
$pdfVal = $_REQUEST['purPdfText'];
}
if($_REQUEST['grDetailPdfText'] != "")
{
$pdfVal = $_REQUEST['flex_patient_id'];
}
echo $pdfVal;
?>
</body>
</html>
<?php
include('pdf_footer.php');
?>