summaryrefslogtreecommitdiff
path: root/pdf/fpdf/tutorial/tuto1.php
diff options
context:
space:
mode:
Diffstat (limited to 'pdf/fpdf/tutorial/tuto1.php')
-rwxr-xr-xpdf/fpdf/tutorial/tuto1.php9
1 files changed, 9 insertions, 0 deletions
diff --git a/pdf/fpdf/tutorial/tuto1.php b/pdf/fpdf/tutorial/tuto1.php
new file mode 100755
index 0000000..14a0504
--- /dev/null
+++ b/pdf/fpdf/tutorial/tuto1.php
@@ -0,0 +1,9 @@
+<?php
+require('../fpdf.php');
+
+$pdf = new FPDF();
+$pdf->AddPage();
+$pdf->SetFont('Arial','B',16);
+$pdf->Cell(40,10,'Hello World!');
+$pdf->Output();
+?>