Php 您好,iam使用mpdf将html转换为pdf,问题是在生成的pdf中显示pdf
iam使用mpdf将html转换为pdf,问题是在生成的pdf中显示pdf 我将展示我在做什么:Php 您好,iam使用mpdf将html转换为pdf,问题是在生成的pdf中显示pdf,php,codeigniter,pdf,mpdf,Php,Codeigniter,Pdf,Mpdf,iam使用mpdf将html转换为pdf,问题是在生成的pdf中显示pdf 我将展示我在做什么: <div class="landscape"> <a href="<?php echo base_url().'get_image.php?i='.$plan_dir.$plan['file'];?>">Download PDF</a> <a href="<?php echo base_url().'get_image.php?i='.
<div class="landscape">
<a href="<?php echo base_url().'get_image.php?i='.$plan_dir.$plan['file'];?>">Download PDF</a>
<a href="<?php echo base_url().'get_image.php?i='.$plan_dir.$plan['file'];?>"><embed src="<?php echo base_url().'get_image.php?i='.$plan_dir.$plan['file'];?>" width="500" height="375"></a>
<embed src="<?php echo base_url().'get_image.php?i='.$plan_dir.$plan['file'];?>" width="500" height="375">
<div id="pdf">
<object width="400" height="500" type="application/pdf" data="<?php echo base_url().'get_image.php?i='.$plan_dir.$plan['file'];?>" id="pdf_content">
<p>Insert your error message here, if the PDF cannot be displayed.</p>
</object>
</div>
<object data="<?php echo base_url().'get_image.php?i='.$plan_dir.$plan['file'];?>" type="application/pdf" width="300" height="200">
alt : <a href="<?php echo base_url().'get_image.php?i='.$plan_dir.$plan['file'];?>">test.pdf</a>
</object>
</div>
我建议首先运行通过验证器生成的HTML来检查语法错误。修复这些错误可能会解决问题。从上面的代码来看,您可能有很多