創建PDF像例如這是我的下面PDF代碼:如何使用FPDF
$this->SetFillColor(0);
$this->SetTextColor(255,255,255);
$this->Cell(90,10,$airline_name,'LRBT',0,'L',true);
$this->Cell('10',10,'','',0,'L',false);
$this->SetFillColor(255,255,255);
$this->SetTextColor(0);
$this->SetFont('Times','',10);
$this->MultiCell(90,5,$com_info,1,'L',false);
$this->Ln(0);
$this->SetY(23);
$this->Cell(30,10,"MAWB",'LTB',0,'L',false);
$this->Cell(60,10,$mawb,'TRB',0,'L',false);
$this->Cell(10,10,'','',0,'L',false);
$this->Cell(45,20,'This Pieces No.\n$pn','LR',0,'L',false);
$this->Cell(45,20,'Total Pieces\n$pn','R',0,'L',false);
$this->ln(0);
$this->SetY(36);
$this->Cell(30,10,"Booking_ref",'LTB',0,'L',false);
$this->Cell(60,10,$booking_ref,'TRB',0,'L',false);
$this->Cell(10,10,'','',0,'L',false);
$this->Cell(25,20,'HAWB','LTR',0,'L',false);
$this->Cell(65,20,$quotation_no,'TR',0,'L',false);
根據上面的代碼中,如下面所示的PDF: PDF圖像一號
基本上,我想這樣做顯示它,如下所示: PDF圖像02號
在PDF中,數據將來自數據庫。
我想顯示像PDF圖像02號但我已經喜歡PDF圖像一號完成。
如何獲得pdf圖像像pdf圖片02。
我該如何解決?請幫忙。
一切似乎都很好!問題是什麼? – powtac 2013-05-10 19:13:16
請認真看看,下面的Pdf圖片不一樣。如何在同一頁面上放兩張桌子。我會給填充和邊緣像下面的PDF圖像。基本上我想要做的像下面的PDF圖像一樣。 – 2013-05-10 19:20:57
所以你必須設置準確的位置! – powtac 2013-05-10 19:24:11