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.