Questions tagged as 'fpdf'

1
answer

Only one product appears in the FPDF file as I do so that they all appear?

I have a sales page for a project and I have to pass the data of the cart to an invoice, I have the product and cart tables, and the id's of the products that were bought are stored in the cart. $query = mysqli_query($con,"select * from produc...
asked by 13.10.2018 / 19:19
1
answer

doubts report with library fpdf

Hello friends from the best forum in the world! I try to make a report in pdf of a tutorial of my CRUD USING FPDF, but with negative results, when calling report.php it gives me error 500 and it does not show anything. I HOPE THE HELP OF THE OLI...
asked by 02.10.2018 / 08:44
2
answers

Problem with Fpdf in yii 2

Hi, I have this problem with fpdf. at the moment of generating the file, it launches this: Instead of the simple hello world that I ask, Here my controller function, the function is actionGenerate: <?php namespace backend\contro...
asked by 03.10.2018 / 22:59
0
answers

How to send the data of a form to different documents with buttons?

I have a form that shows printed data of a query, but I want to send that data to a php file to generate a report in pdf when the user presses the "Generate" button, I do not know if it is working correctly since when recovering those data in th...
asked by 09.09.2018 / 21:11
2
answers

problem on the date 1970

I have a variable in my DB which stores the following value FECHA_MOV= "2015-03-19 04:34:20" I would like to print (show) the date in this format "d-m-Y" ==> 19-03-2015 . But I get the next date "01-01-1970" ==========codigo...
asked by 10.09.2018 / 21:47
0
answers

Print several MultiCells in one line

The problem is that I get data from a mysql database with $tupla=mysqli_fetch_array($bloque); ($ block contains the result of the query), I must write each data in a different column of a pdf, use a for to scroll through all the results a...
asked by 09.08.2018 / 04:58
0
answers

fpdf does not show me the data of some of my mysql queries

It is as it says the title, in my PDF I make three queries and two of them do not show them, I do not see anything but does not show any error, the queries that show nothing are records 1 and records 2. I do not understand because this happens s...
asked by 23.06.2018 / 19:27
1
answer

How to include one class inside another in PHP using FPDF

I hope you can support me, I am a beginner, I am working with PHP and FPDF, I currently have a document called index.php with the following code: <?php require_once(dirname(__FILE__) . '/Constantes.php'); require_once(RUTA_FPDF_PHP); $pdf =...
asked by 20.06.2018 / 23:43
0
answers

problem generating pdf with fpdf

My problem is this: I have a form with which I select some data that I import from a MYSQL database, when I give it the save button it must open a new window where the pdf should be generated, the problem is that when I hit the save button I...
asked by 18.06.2018 / 23:51
1
answer

Send data from JavaScript to PHP, for use in FPDF

Good afternoon, I have a problem that already has me head, no matter how hard I try to solve it, I have an HTML, which I want to send data to a PHP, so that the latter process it and with the FPDF class creates a PDF file, the data will come fro...
asked by 22.06.2018 / 19:15