Nodral Posted December 29, 2010 Share Posted December 29, 2010 Hi I have a database set up using MySQL and want to be able to query this and then export to Excel using PHP. I've had a look around on the web but a lot of what I'm reading is going over my head. I don't have PEAR so can't use the ready made stuff. Basically, I want to be able to query the database, then export the arrays to an excel file and a pop up to appear asking the user to open / save / cancel (standard pop-up) Anyone know of any good places to start looking for the information for this? Sorry, I'm new to all this so any help / pointers would be greatly appreciated. Cheers Link to comment https://forums.phpfreaks.com/topic/222918-php-to-excel/ Share on other sites More sharing options...
BlueSkyIS Posted December 29, 2010 Share Posted December 29, 2010 there are existing solutions that don't rely on PEAR. I use phpexcel http://phpexcel.codeplex.com/ but if you just need to output a simple file that excel can read, i would just output CSV (comma-separated values). Link to comment https://forums.phpfreaks.com/topic/222918-php-to-excel/#findComment-1152626 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.