Forum


Replies: 5   Views: 4725
Addheader
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 nikkyb8  · 03-12-2013 - 09:54

Hi,



I'd like to insert $entete='<table class=" table1" style="height: 25px;" width="747"> <tbody> <tr> <td><img src="client/audistraining/image/logo_gestetf_pourformafast.png" alt="" width="200" height="76" /></td> </tr> </tbody> </table>';



width function Addheader but it not work...



I'm using thit :





    $rawWordML = $docx->embedHTML($entete, array('rawWordML' => true, 'target' => 'defaultHeader'));



    $entete = $docx->createWordMLFragment(array($rawWordML));

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



The probleme is the pics, do you tell me how can i insert pics and text in the header ?



Thank's