summaryrefslogtreecommitdiff
path: root/pdf/fpdf/tutorial/tuto1.php
diff options
context:
space:
mode:
authorprashant2015-03-27 17:27:37 +0530
committerprashant2015-03-27 17:27:37 +0530
commit80213cecf41ede861bffbf1370185d20d672ceba (patch)
treed4a63d10dc4e907c35c8b708d9d66ba430b88368 /pdf/fpdf/tutorial/tuto1.php
downloaddwsim_textbook_companion-80213cecf41ede861bffbf1370185d20d672ceba.tar.gz
dwsim_textbook_companion-80213cecf41ede861bffbf1370185d20d672ceba.tar.bz2
dwsim_textbook_companion-80213cecf41ede861bffbf1370185d20d672ceba.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();
+?>