Forum


Replies: 7   Views: 4023
Create a while loop in php to create a table
Topic closed:
Please note this is an old forum thread. Information in this post may be out-to-date and/or erroneous.
Every phpdocx version includes new features and improvements. Previously unsupported features may have been added to newer releases, or past issues may have been corrected.
We encourage you to download the current phpdocx version and check the Documentation available.

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