Questions tagged as 'fpdf'

2
answers

How to send variables from one PHP to another and retrieve them to use them?

I have a form in which I print variables through a query to my database, I want to send these variables to another php file to be able to use them, I am currently doing it with a form and sent them with the POST method and a submit button , but...
asked by 21.09.2018 / 20:48
1
answer

How to solve the (Uncaught Exception: FPDF error) when trying to generate PDF with PHP

Error trying to create a PDF file with PHP and the FPDF library    Fatal error: Uncaught Exception: FPDF error: Some data has already   been output, can not send PDF file (output started at   C: \ xampp \ htdocs \ paginaoctago \ temp \ lev_6...
asked by 28.05.2018 / 21:28
1
answer

FPDF Cell or Multicell

Good afternoon everyone, I have a problem with a text that is too long for the cell, and I do not know if it is possible for Cell or Multicell to adjust so that the long text enters in the same cell but in two lines. I have tried these two...
asked by 02.03.2018 / 20:17
2
answers

FPDF cell does not fill with color and gets a line break that I do not want

Good afternoon everyone! I am a newbie with FPDF and I notice a lot, I have a problem with cell and it is not filling the cell as I want and also I get a line break strong> (in a multicell that goes just below) that I do not want, can you...
asked by 01.03.2018 / 18:31
1
answer

How to send a pdf created with fpdf by mail using PHPMailer?

I happen to have a code that generates pdfs perfectly with the fpd library. But at the end of this, I added another library with its corresponding code to send me this pdf generated by mail with PHPMailer, and what happens is that it sends me th...
asked by 25.12.2018 / 07:32
0
answers

How to align lines fpdf laravel foreach within foreach

foreach ($cotizacion->detalle_cotizacion as $key => $value) { $fpdf->Cell($lgCell + $smCell, (1.2 * (count($value->cotizacion_partida))), $value->cubierta->tipo_id, 1, 0, 'C', 1); $fpdf->Cell($lgCell,...
asked by 20.12.2018 / 20:03
0
answers

Include pdf with printed data of a BD in another php file

I tried to include a pdf that prints data from a BD in a php file and I get errors. This pdf was made with the FPDF libraries. This is the pdf code: <?php require ('fpdf/fpdf.php'); require ('src/autoload.php'); require (...
asked by 10.12.2018 / 14:57
0
answers

warning error when printing on windows 10 with fpdf

Warning: count (): Parameter must be an array or an object that implements Countable in C: \ xampp \ htdocs \ MAINTENANCE AND SERVICES R.M S.A.S \ pdf_class \ locale.class.php on line 68 Warning: count (): Parameter must be an array or an obj...
asked by 31.10.2018 / 20:33
0
answers

Learning to use FPDF

You see, I am learning to use a library for PDF document development called Fpdf. I have this code: public function imprimir(Articulo $articulo){ $pdf=new Fpdf(); $pdf->AddPage(); $pdf->Image($articulo->foto->ruta(),...
asked by 26.10.2018 / 09:41
0
answers

upload several records in a pdf

good as I can load 50 or even more records and that those 50 records are displayed in a pdf, I only do it with a row for only 1 record but this time are for several, what I do not want is to be one by one putting him for example $pdf->Text(...
asked by 15.10.2018 / 00:58