Hello
I need the same header for all my pages But I have a variable name $titleheader$ but when i tried to change with
$docx->replaceVariableByText(array('titleheader' =>"My title header"), array());
nothing happened this issues is only in header
🏷️ Limited Offer: 25% OFF 🏷️
First 100 purchases only — Special discount!
Use this coupon on checkout: PHPDXPJ_D1SC1N5T
Get it nowHello
I need the same header for all my pages But I have a variable name $titleheader$ but when i tried to change with
$docx->replaceVariableByText(array('titleheader' =>"My title header"), array());
nothing happened this issues is only in header
Hello,
You need to set the target option as header. Please check the API documentation on:
http://www.phpdocx.com/api-documentation/templates/replace-variable-text-Word-document
Regards.