Jump to content

Php + Excel


White_Lily

Recommended Posts

I was wondering how i would go about writing information to an excel file with php...

 

say i had data such as:

 

Refernce ID Product Name Price

PR56709 Product 1 £10.00

PR14820 Product 2 £25.00

 

How would i use PHP to enter data like that into an excel file?

 

I can't seem to be able to find anything useful on this using google...

 

 

Any help is appreciated.

Link to comment
https://forums.phpfreaks.com/topic/271068-php-excel/
Share on other sites

Which version of the XLS format?

 

The best bet would be to just output it as CSV, and then import it into Excel. Either that, or use the ODS format. Latter one uses XML internally, and is a whole lot more well-formed than OOXML (all three major versions of it).

Link to comment
https://forums.phpfreaks.com/topic/271068-php-excel/#findComment-1394593
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.