Questions tagged as 'fpdf'

0
answers

Error when trying to make a PDF format

Hi, I'm trying to make a PDF format for my web system but I'm starting and it sends me an error.    Parse error: syntax error, unexpected '$ this' (T_VARIABLE), expecting ',' or ')' in C: \ xampp \ htdocs \ testpdf \ report.php on line 23...
asked by 12.03.2018 / 23:14
1
answer

FPDF Generate a page for each row of the BD [closed]

I already have my code with FPDF to generate the sheet in the PDF document. Now, I would like to implement a loop that in the same PDF file for each row of the BD will generate a page in the document. I think we should generate a function tha...
asked by 07.03.2018 / 20:25
0
answers

FPDF OPEN function

I'm starting to use the FDP library and I'm having some problems ... I got this code from a blog but there is some error, I think that the OPEN function is not defined and I have no idea how it can be defined. Can you help me? I put the co...
asked by 05.02.2018 / 19:22
1
answer

Problem with PDF reports in free hosting

I have a page that requires the generation of PDF reports to show data from a MySQL database, I use the FPDF library. When I generate them in local I work perfectly but when I upload it Hostinger nothing is generated, I download the pdf file but...
asked by 22.10.2017 / 03:48
1
answer

Do not burn PDF (FPDF) on the server

In an intranet environment, I am generating a PDF with PHP, and visualize it with $ pdf-> Output ($ file, 'F'); it works perfect, but I do NOT want to record it on the server, only it opens in the browser. I have tried with all the options and t...
asked by 23.11.2017 / 20:21
1
answer

Does my pdf generate without problems but when adding a conditional it stops working?

Hi, I'm giving permissions to my system, I generate a pdf by making queries to a database, it works perfect even when adding the if and validating the session start and the level of privilege of the user, but at the moment in which I use the els...
asked by 22.09.2017 / 18:36
1
answer

print quantity of columns of a mysql search in fpdf

I have a query of MySQL in which there may be x number of communications radios stored there, the table prints perfect if I do it without the counter, but as it is necessary to know how many radios there are according to the query, I need...
asked by 21.09.2017 / 07:08
0
answers

Watermark in PDF using a TEMPLATE

How can I make the watermark appear in a PDF that is generated through a TEMPLATE of the same PDF, $pdf = new FPDI(); $pageCount = $pdf-> setSourceFile("FUMIGACION.pdf"); $tplIdx = $pdf->importPage(1); $pdf->addPage(); $pdf->us...
asked by 24.08.2017 / 19:04
2
answers

How can I integrate an FPDF with my query to the database?

Thanks to the help of the members of SO, I managed to consult the database and I also managed to run my FPDF correctly but separately, if I wanted to make this query <?php $TIPO_BUSQUEDA = $_POST["TIPO_BUSQUEDA"]; function ejecuta_c...
asked by 22.08.2017 / 16:44
2
answers

I do not generate the pdf I want in Google Chrome

I have a little problem with the FPDF tool on my website, the thing is that localhost everything works perfectly, but by taking my php to the online hosting and requesting the pdf the page is completely blank, without printing any results or err...
asked by 22.12.2018 / 22:21