AddPage(); $pdf->SetFont('Arial','B',16); $pdf->Cell(40,10,'Hello World!'); $pdf->Ln(); $pdf->SetFont('Arial','B',14); // create table with 3 columns and 4 rows $pdf->Cell(40,10,'Name'); $pdf->Cell(40,10,'Age'); $pdf->Cell(40,10,'Gender'); $pdf->Ln(); $pdf->Cell(40,10,'John'); $pdf->Cell(40,10,'25'); $pdf->Cell(40,10,'Male'); $pdf->Ln(); $pdf->Cell(40,10,'Jane'); $pdf->Cell(40,10,'32'); $pdf->Cell(40,10,'Female'); $pdf->Ln(); $pdf->Output(); ?>In this example, we create a PDF document using the FPDF package library. We add a page to the document and set the font size. Then, we create a table with three columns and four rows using the Table addCell function. Finally, we output the PDF document to the browser. The package library used in this example is FPDF.