Forum


Replies: 4   Views: 4523
Designation / table
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  · 15-11-2013 - 09:28

Hello,

I have a tablethat Ifilledthis way:

$aData[]= array ('designation' => $donneesss,'qty' =>$ data["Quantity"],pu '=>$ data["prix_unitaire"].' € ',' ht'=>$ data["ht"] '.');



In$donneesssIeg



Mr.marcmartin

15 to 21

Foroneperson



ThenI insert itwith this:



$docx->addTemplateVariable($aData,'table', array ('header'=> false));



Can you tell mehow to findthe textin the same way(withline break)?



Thank youin advance