By: Etoma
Date: 2014-10-27
Time: 13:33
|
Display Array in docx
Is there a way to display all values from a PHP array of unknown size and content in a word document?
|
By: Skrol29
Date: 2014-10-27
Time: 22:51
|
Re: Display Array in docx
It depends on the structure of the PHP array.
|
By: Etoma
Date: 2014-10-28
Time: 12:10
|
Re: Display Array in docx
Thak you for your reply
The array is created like this:
for($i=0;$i < $userInput; $i++)
{
$array[] = 'something';
} |
I just found ope=list;
but i cant get valsep to work, is there a way to use a break as separator?
|
By: Etoma
Date: 2014-10-28
Time: 15:15
|
Re: Display Array in docx
Just found a solution that works for me:
that means of course that you first have to merge the array into a block.
$TBS-MergeBlock('array', $array);
|
Just posted it in case someone else has a similar problem.
|
|
Posting in progress.
Please wait...
|