"Regards,
--
Michael Bollman"
needs to be added in that format to the $SIGNATURE$ variable in the docx.
However, when I do this the resulting docx file is corrupt. Is this not possible?
Hi,
I am trying to add multi-line text to my table row 2 cell 2.
--------------------------------------------------------------------------
$tableSettings = array(
'header' => true
);
$data = array(
array( //row 1
"cell_1_1"=>"foo",
"cell_1_2"=>"bar"
),
array( //row 2
"cell_2_1"=>"hello",
"cell_2_2"=>array(
'David Hume',
'--------------',
'bye'
)
)
)
$docx->addTemplateVariable($data,'table',$tableSettings);
--------------------------------------------------------------------------
But it doesn't work.
Hi,
I am afraid I can't do that.
I am relying on array of data to generate table rows.
The number of my table rows is dynamic.
Hi,
But you can create a dynamical HTML that sets a table. Please check examples/intermediate/EmbedHTMLinTable.php example.
Regards.