Replies: 4   Views: 3543
Create a dynamic table
Topic closed:
Please note this is an old forum thread. Information in this post may be out-to-date and/or erroneous.
Every phpdocx version includes new features and improvements. Previously unsupported features may have been added to newer releases, or past issues may have been corrected.
We encourage you to download the current phpdocx version and check the Documentation available.

Posted by sevilha  · 09-10-2013 - 20:10

Hi guys,

I have a template, with variables and i need to create and add a dynamic table on this file without a declared variable on the template. I´m trying to use this code 

$ncms = $total = $desonerado = array();

        foreach ($ncmDados as $dados) {

            $ncms[] = (String)$dados['ncm'];

            $total[] = (String)$dados['total'];

            $desonerado[] = (String)$dados['desonerado'];






Someone can help me?