S
S
Sergey Petrov2019-01-12 13:34:20
PHP
Sergey Petrov, 2019-01-12 13:34:20

How to convert received data to pdf using dompdf?

Good day.
Help me please.
There are 2 html files and 1 php with dompdf.
1 html file contains a form to fill out: first name, last name, age.
2 html is a document in which you need to insert the data received from the user from the form.
PHP is converting the 2nd html file to pdf.
The problem is that it can't be done. When converting a pdf file, it displays the 2nd html document without the received data. Who can help with an example. What could I get away with.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Dimonchik, 2019-01-12
@zubrrap

you need to start from the basics of PHP - form, transferring data to the server OR saving to a file, reading from the server OR from a file, filling

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question