PHPExcel example of use -


I am trying to use PHPExcel ob I have already read some APIs, but still this is not correct Understand how to use it.

I am trying to convert an array into an Axle table.

If I have: array ('key1' => gt; 'content3'): $ array = array (array ('key1' => 'content1', 'key2' = & Gt; 'content2', 'key2' = & gt; 'content4'));

Then the output in the Excel file will be:

  key1 key2 content1 content2 content3 content4   

< Code> Key 1 and key2 as the header.

Can you help? Thanks

Check some discussions here

Comments