php7-mysql-data/Kapitel_5/Lektion_11/pdf_loesung/1_hallowelt.php

10 lines
164 B
PHP
Raw Normal View History

2016-08-16 21:20:53 +02:00
<?php
require __DIR__ . '/fpdf/fpdf.php';
$pdf = new FPDF();
$pdf->AddPage();
$pdf->SetFont('Arial', 'B', 16);
$pdf->Cell(40, 10, 'Hallo Welt!');
$pdf->Output();