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
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
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.