Hello,
In
$docx->addTemplateVariable ('NAME', $text);
You can't add a multimensional array, only an array. Of course you can use the replaceTemplateVariableByHTML method to do that.
Regards.
🏷️ Limited Offer: 25% OFF 🏷️
First 100 purchases only — Special discount!
Use this coupon on checkout: PHPDXPJ_D1SC1N5T
Get it now