spires Posted April 7, 2008 Share Posted April 7, 2008 Hi Guys. Does anyone know how to export PHP to Excel? Basically, I have a form the generates a commer seperated list., Mainly using arrays. Example: blackberry, pearl, curve nokia, 8800, n60 I need to to be exported in to a Excel & CSV file, without using MYSQL Any ideas please. Thanks Link to comment https://forums.phpfreaks.com/topic/99967-export-php-to-excel/ Share on other sites More sharing options...
cooldude832 Posted April 7, 2008 Share Posted April 7, 2008 a ton of examples out there in google. You don't need a .xls file but a .csv file that excel can very easily phrase. Link to comment https://forums.phpfreaks.com/topic/99967-export-php-to-excel/#findComment-511173 Share on other sites More sharing options...
rhodesa Posted April 7, 2008 Share Posted April 7, 2008 For writing a CSV file, check out: http://us2.php.net/manual/en/function.fputcsv.php For Excel Files, check out: http://www.phpfreaks.com/forums/index.php/topic,182970.0.html ...read it carefully as it has a custom version of excelWriter posted in it. Link to comment https://forums.phpfreaks.com/topic/99967-export-php-to-excel/#findComment-511176 Share on other sites More sharing options...
spires Posted April 7, 2008 Author Share Posted April 7, 2008 Thanks guys. I'll check it out Link to comment https://forums.phpfreaks.com/topic/99967-export-php-to-excel/#findComment-511189 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.