For example, if I put the codes in the following, the strings 'first line' and 'second line' are still in the same line.
[code]require_once '../../classes/CreateDocx.inc';
$docx = new CreateDocx();
$valuesTable = array(
array(
'first line \\r\\n second line', // \\r\\n doesn't work in the generated table !
12
),
array(
21,
22
),
);
$paramsTable = array(
'border' => 'single',
'border_sz' => 20
);
$docx->addTable($valuesTable, $paramsTable);
$docx->createDocx('example_table');[/code]
Is there any way to make them into two lines? Thanks.