OpenTBS with DOCX insert array of data

0

I'm using the OpenTBS library ( link ) to create custom contracts in word. I have an array in this format:

Array ( [0] => 1111 [1] => 22222 )

and I want to insert it into the document. I'm trying the following, but to no avail:

PHP code:

$TBS->MergeBlock('variavelnodocx',$array);

And in docx:

[variavelnodocx.val;block=tbs:page]

But only the first value of the array is displayed. Anyone who has ever used this library that can help me?

    
asked by anonymous 02.06.2018 / 15:29

0 answers