Categories > OpenTBS with DOCX >

Dynamic table

The forum is closed. Please use Stack Overflow for submitting new questions. Use tags: tinybutstrong , opentbs
By: Drew
Date: 2015-07-17
Time: 10:49

Dynamic table

HI every one.

I have a php array like this one (dynamically generated):

$line0 = [0=>'cell :0,0', 1=>'cell 0,1',2=>'cell 0,2',3=>'cell 0,3'];
$line1 = [0=>'cell : 1,0 ;', 1=>'cell 1,1',2=>'cell 1,2',3=>'cell 1,3'];

$content = [
    0=>$line0,
    1=>$line1
];
I want to display this array on a docx table with one element in each cell.

How can i do that?
By: Skrol29
Date: 2015-07-19
Time: 00:21

Re: Dynamic table

Hi Drew,

Can you give an example of the result you'd like ?