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

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.