Replies: 7   Views: 3101
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  · 15-05-2019 - 08:35

Goodmorning everyone.

I should make a simple word file that contains a table with three fields and can give the user the possibility to download it on the fly.
The data must be extracted from a DB.
How can I use a while loop in php inside the arrays used to compose the various data tables?

Greetings and thanks for the excellent work you do.