如何在字符串中设置链接 $pdf = new FPDF;$pdf->AddPage(); $pdf->SetFont('Arial','B',15); //设置字体 $subject='China Aluminum-Die-Casting-Manufacturer parts (die casting) Manufacturer, Supplier, Factory, Exporter '; $pdf->SetTextColor(245,50,5); $pdf->Write(5,$subject); $pdf->SetFont('Courier','',10); //设置字体颜色 $cata_intro='Our factory have Large spectrum of die casting machines (280T - 1600T),it can produce Variety of alloys available to meet in house production requirements and to provide quality custom-made die-casting parts for other industries'; $pdf->Ln(); //换行 $pdf->Write(5,$cata_intro,'http://www.163.com'); $pdf->SetTextColor(108); $pdf->Text(40,45,'Product Name:front cover of electromotor(die casting)-02'); $pdf->Write(5,'URL','http://www.163.com'); $pdf->Image('01x.jpg', 5, 40, 35, 35); front cover of electromotor(die casting)-02' $pdf->Output(); //'Product Name:front cover of electromotor(die casting)-02' 如何在那一块设置一个链接
$pdf = new FPDF;$pdf->AddPage();
$pdf->SetFont('Arial','B',15); //设置字体
$subject='China Aluminum-Die-Casting-Manufacturer parts (die casting) Manufacturer, Supplier, Factory, Exporter ';
$pdf->SetTextColor(245,50,5);
$pdf->Write(5,$subject);
$pdf->SetFont('Courier','',10); //设置字体颜色
$cata_intro='Our factory have Large spectrum of die casting machines (280T - 1600T),it can
produce Variety of alloys available to meet in house production requirements and to
provide quality custom-made die-casting parts for other industries';
$pdf->Ln(); //换行
$pdf->Write(5,$cata_intro,'http://www.163.com');
$pdf->SetTextColor(108);
$pdf->Text(40,45,'Product Name:front cover of electromotor(die casting)-02');
$pdf->Write(5,'URL','http://www.163.com');
$pdf->Image('01x.jpg', 5, 40, 35, 35);
front cover of electromotor(die casting)-02'
$pdf->Output();
//'Product Name:front cover of electromotor(die casting)-02' 如何在那一块设置一个链接