Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- require('../fpdf/fpdf.php');
- class Ticket extends FPDF{
- private $conexion;
- public function __construct(){
- require_once('../model/conexion.php');
- parent::__construct();
- $this->conexion = new conexion();
- $this->conexion->conectar();
- }
- }
- $pdf = new FPDF('P','mm',array(114,76));
- $pdf->AddPage();
- $pdf->SetFont('Arial','',10);
- $pdf->Cell(0,0,'StoreLTE');
- $pdf->Ln(2);
- $pdf->Output('test.pdf', 'i');
- ?>
- $pdf->Cell(0,0,'StoreLTE',0,1,'C');
Add Comment
Please, Sign In to add comment