Você pode ler este post em português também.
I wrote a interesting function: Execute it with a given filename and an array in this format:
Array
(
[plan1] => Array
(
[0] => Array
(
[id] => 1
[name] => Adriano
)
[1] => Array
(
[id] => 2
[name] => Rodrigo
)
[2] => Array
(
[id] => 3
[name] => Manoel
)
)
)
And the response will be:
Cool! It’s a generic function, so you can use it with your helper class/functions, etc.
This function use the Spreadsheet_Excel_Writer class from PEAR.
The source code you can get in Github here, so you can be notified about updates.
Opinions will always be welcome.
Cheers!
One thought on “Excel/Calc workbook generator with PHP”