Download to multiple excel sheets

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
amitchandra
Forum Newbie
Posts: 1
Joined: Fri Aug 01, 2008 4:10 pm

Download to multiple excel sheets

Post by amitchandra »

Guys, I got to implement a download to excel in multiple sheets . I googled but could not gather any information . Could someone please give a lead ?
User avatar
omniuni
Forum Regular
Posts: 738
Joined: Tue Jul 15, 2008 10:50 pm
Location: Carolina, USA

Re: Download to multiple excel sheets

Post by omniuni »

Output your array containing data into a CSV (fputcsv) and have the user download them. CSV's work fine for Excel, or any other Spreadsheet.

http://us3.php.net/fputcsv

That help a bit?

-OmniUni
Post Reply