First Name | Last Name | File Location |
---|---|---|
Andy | Lee | |
Jason | Hulce | |
Ibrahim | Muhammad |
I am trying to make an E-certificate for all the user that are listed in the table. I have imported the data into my database(phpmyadmin).
I have design a Microsoft Word certificate, just wondering is it possible to insert the name of the participant in the file and convert it into a pdf? There are around 500 participants and if I am to update one by one in word it is time consuming.
I am trying to do it in PHP and JS. Do you guys have any other idea on how to make this work?
2
Answers
Use this library, you can create and word document and pdf. https://phpspreadsheet.readthedocs.io/en/latest/
Yes you can do it using class named ZipArchive.
I am adding a sample code. You can change it according to your needs.