Thank you for the help file.
I only have one problem....The $docx->addTable($Array_Table, $paramsTable); is working in the template, only the table is set at the end of the output docx. Is it possible to set some coordinates for the table in the template file.