我用這個庫FPDF製作了一些非常簡單的PDF,現在我試圖製作一個「結果頁面」,它必須顯示像這樣的圖像,但是圍繞它的所有邊框,不是每個細胞。FPDF borderlines
我已經得到了在FPDF,提出將細胞(不知道這是最好的方式做的話),和代碼是這樣的(因爲我用手工添加的結果的那一刻,只是要弄清楚它是如何將看起來像):
//SimpleTable
function SimpleTable() {
$this->Cell(280,15,"Inscription Number: 1",0);
$this->Cell(265,15,"Date: 28/03/2008",0);
$this->Ln();
$this->Cell(265,15,"Name and Surname: Name Surname ",0);
$this->Cell(265,15,"",0);
$this->Ln();
$this->Cell(280,15,"Address: Address",0);
$this->Cell(265,15,"",0);
$this->Ln();
$this->Cell(280,15,"Zip Code: Zip Code",0);
$this->Cell(280,15,"City: City",0);
$this->Ln();
$this->Cell(280,15,"Year of birth: Birthday",0);
$this->Cell(280,15,"Age: Age",0);
$this->Ln();
$this->Cell(280,15,"VIP: No - First Time: Yes",0);
$this->Cell(280,15,"School: My school",0);
}
希望你能幫助我如何邊境一個所有thouse結果,我不beign能夠做到這一點,並沒有發現任何東西。
再次感謝您的時間,一如既往!