Ajai Khattri wrote: >> Guess what, i'm crazy for this, The company where i work wanna to pass >> the php page that gimme the results to a excel sheet, and the second >> request is they want the exactly colors, formats, width column, height >> column, etc that excel offers. >> >> I just want to know if somebody could gimme any idea to do this..i want >> to create a button that convert me php results into a excel sheet >> exactly as they need. > > > http://pear.php.net/package/Spreadsheet_Excel_Writer
+1 Also just forcing a download using html tables and content-type application/excel can work with excel and openoffice-calc. The <td>'s are the columns. This is not as full featured and robust as the PEAR package, but does seem to work for simple, single sheet spreadsheets. And it's fast to code if you already have the html tables ready (: _______________________________________________ New York PHP Community Talk Mailing List http://lists.nyphp.org/mailman/listinfo/talk NYPHPCon 2006 Presentations Online http://www.nyphpcon.com Show Your Participation in New York PHP http://www.nyphp.org/show_participation.php
