Replies: 1   Views: 3712
Replace template header variable
Topic closed:
Please note this is an old forum thread. Information in this post may be out-to-date and/or erroneous.
Every phpdocx version includes new features and improvements. Previously unsupported features may have been added to newer releases, or past issues may have been corrected.
We encourage you to download the current phpdocx version and check the Documentation available.

Posted by ricardo.gutierrez  · 21-06-2016 - 20:33


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