Hello,
This code:
$docx->addTemplateVariable($field2,$imagepath,’html’);
allows you to replace a placeholder using HTML code. You should use:
$docx->addTemplateVariable($field2,$imagepath,’image’);
Regards.
🏷️ Limited Offer: 25% OFF 🏷️
First 100 purchases only — Special discount!
Use this coupon on checkout: PHPDXPJ_D1SC1N5T
Get it now