Jump to content

PHP and Excel


dumdumsareyum

Recommended Posts

I have done some searching through old posts and the web but still haven't found a good answer for my question. I was wondering if anyone could point me in the direction of some directions for how to edit an existing (template) excel file with PHP.  Or.....if anyone would like to suggest an alternative to this what I'm really trying to do is take order information collected from a user and put it into an invoice...I just assumed excel would be a good way to do this.  Thanks.  PS I did find some information regarding the excel using COM but said I would require a windows server for this and it will most likely be run with a Unix server.

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

Microsoft excel documents are stored in a binary format that is very difficult to decipher. You could create a CSV file if necessary. Excel can edit CSV just the same as anything else but, you won't have a lot of functionality when it comes to the layout. You might be best off creating a nice web page to show invoices. Most of my clients just want something they can print, or lookup later.

Link to comment
https://forums.phpfreaks.com/topic/107547-php-and-excel/#findComment-551295
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.