Replies: 7   Views: 95
Create a while loop in php to create a table

Posted by Expertise  · 16-05-2019 - 10:04

Hi, thanks for the reply.

Said very simply:
- generate a file in .docx format
- inside the file there must be a table
- the table must have lines containing the last name, date of birth, country
- the data with which to populate the table must be taken from the db
- if in the db there are 20 lines, in the table of the generated word file there must be 20 lines
- I'd like to be able to use a template

It can be done and in the case of a positive response, how can I do it?

Best regards, thanks