Hello Everybody,
Is it possible to have a script in PHP which can load variables from a database and insert it in a Word Document and download the file in Docx format.
Someone can help me please.
Function PHP to load Variable from Mysql database to a a Word document
It's certainly possible. Here is the first relevant GitHub repo I found, but I've never used it so cannot vouch for it: https://github.com/PHPOffice/PHPWord
@NogDog THANKS A LOT. I had found this repot but and didn't undestand the principle.