Print in a pdf image a database field

<button  class="col-xs-12 col-sm-3 col-md-3 col-lg-3 btn btn-success"> <a target="blank"  href="IIICERTIFICADO.pdf" >Imprimir Certificado</a> </button>

Good morning, I would like you to guide me in this doubt. I want this button to print in the certificate shown (IIICERTIFICADO.pdf) the names brought from a database.

That is, I would like a pdf image to show a text that would be the name of each person who registers and prints the image, it would have been written "The following certificate is given to: the name of the registered user", but that's my question, I do not know how to make the select name from person where user = $ user is shown in the pdf image.

I thank you in advance for your answers.

asked by nelnic 03.12.2018 в 18:47

0 answers