TimeTrex/vendor/setasign/fpdf/tutorial/tuto1.php

10 lines
151 B
PHP
Raw Normal View History

2022-12-13 07:10:06 +01:00
<?php
require('../fpdf.php');
$pdf = new FPDF();
$pdf->AddPage();
$pdf->SetFont('Arial','B',16);
$pdf->Cell(40,10,'Hello World!');
$pdf->Output();
?>