White_Lily Posted November 23, 2012 Share Posted November 23, 2012 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. Quote Link to comment https://forums.phpfreaks.com/topic/271068-php-excel/ Share on other sites More sharing options...
Christian F. Posted November 23, 2012 Share Posted November 23, 2012 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). Quote Link to comment https://forums.phpfreaks.com/topic/271068-php-excel/#findComment-1394593 Share on other sites More sharing options...
White_Lily Posted November 23, 2012 Author Share Posted November 23, 2012 Okay thank you. Quote Link to comment https://forums.phpfreaks.com/topic/271068-php-excel/#findComment-1394603 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.