Forum


Replies: 16   Views: 4548
Header and footer not showing
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 Simco uwkm  · 20-12-2017 - 11:23

found out what was wrong with it.. it didn't like 

$docx->addHeader(array('first'=>$headerElements,'default' => $headerElements));

now have just :

$docx->addHeader(array('default' => $headerElements));

and that works just fine.