Hello,
I tryto usethis function:
CreateDocx$docx= new();
$docx->AddTemplate('/var /www /docx/ examples/ files /test_template_moi.docx');
$ text= array (
'DavidHume'
'-----------'
'Bye'
);
$docx->addTemplateVariable('NAME',$ text);
$docx->cleanTemplateVariable('VARIABLE', 'block');
$docx->createDocxAndDownload('/tmp /' $_SESSION["username"]'_'$ _SESSION["user_id"]'/''sss'.....)
But with:
$ Text= array (
'DavidHume'
'-----------'
'Bye'
);
Itdoes not work anymore....
How to displaythe textin multiline?