mirror of
https://github.com/janunger/rheinwerk-video-training.git
synced 2026-02-06 15:15:15 +01:00
Initiale Version
This commit is contained in:
10
Kapitel_5/Lektion_11/pdf_loesung/1_hallowelt.php
Normal file
10
Kapitel_5/Lektion_11/pdf_loesung/1_hallowelt.php
Normal file
@@ -0,0 +1,10 @@
|
||||
<?php
|
||||
|
||||
require __DIR__ . '/fpdf/fpdf.php';
|
||||
|
||||
$pdf = new FPDF();
|
||||
$pdf->AddPage();
|
||||
$pdf->SetFont('Arial', 'B', 16);
|
||||
$pdf->Cell(40, 10, 'Hallo Welt!');
|
||||
|
||||
$pdf->Output();
|
||||
Reference in New Issue
Block a user