如何用 fpdf 类进行 图文并排
解决方案 »
- ZipArchive 添加压缩包注脚的时候是乱码?文件类型是UTF-8?怎么才能让它不是乱码,下面是代码
- 我用ThinkPHP时的session问题。
- php readfile download 下载出现1kb
- echo
- $HTTP_GET_VARS不能在函数中使用的问题
- php中pdo的使用时,出现的问题
- 过滤掉javascript代码的正则怎么写?
- 求助,Premature end of script headers: php/php.exe 如何解决
- 一个关于php的对象,函数,数组的综合问题,高手请近
- 还是<form>的问题……不显示结果……:(
- htmlspecialchars_decode函数的问题
- 小菜求答
$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' 如何在那一块设置一个链接