【发布时间】:2017-02-01 05:07:41
【问题描述】:
当我尝试在 pdf 中显示链接时,它不会显示链接,但会显示 php 代码或字符串文本。我该如何改变呢?
这是我的代码
while($fila2 = mysql_fetch_array($fila)) {
$item = $item+1;
$pdf->Cell(5, 8 ,$item, 1);
$pdf->Cell(10, 8 ,$fila2['FOLIO'], 1);
$pdf->Cell(70, 8 ,$fila2['NOMBRE'], 1);
$pdf->Cell(25, 8 ,date("d-m-Y",strtotime($fila2['FECHA_SOLICITUD'])), 1);
$pdf->Cell(25, 8 ,$fila2['TIPO_AUTORIZACION'], 1);
$pdf->Cell(25, 8 ,date("d-m-Y",strtotime($fila2['FECHA_AUTORIZACION'])), 1);
$pdf->Cell(20,8 , '<a href="http://www.intranet.com/mb/rprh06/final.php?folio=$fila2["FOLIO"]" target="_blank">Enlace</a>',1);
$pdf->Ln(8);
}
这是我的结果
我想根据行的结果 ID 显示类似“查看链接”的内容。但是当我在链接上传递指针时,它会显示以下内容
谢谢。
【问题讨论】: