summaryrefslogtreecommitdiff
path: root/pdf/fpdf/tutorial/tuto1.php
diff options
context:
space:
mode:
authorSashi202018-05-08 11:48:35 +0530
committerSashi202018-05-08 11:48:35 +0530
commita8f4339077dd02438dd3ae3f31de34abef10ff59 (patch)
tree0b80086342b111c3bd4c14d2047777bd3e286a06 /pdf/fpdf/tutorial/tuto1.php
downloadr_textbook_companion-a8f4339077dd02438dd3ae3f31de34abef10ff59.tar.gz
r_textbook_companion-a8f4339077dd02438dd3ae3f31de34abef10ff59.tar.bz2
r_textbook_companion-a8f4339077dd02438dd3ae3f31de34abef10ff59.zip
Initial Commit
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();
+?>