Geez what really bad advice, giving an end user a totally useless unfriendly csv file is bad bad bad. I suggest you check out http://pear.php.net/package/Spreadsheet_Excel_Writer , its a pain to get the layout perfect, but once its done you have what you need. I've also been trying to hassle to get a report server installed and working check out either Datavision or Report Manager, it took me less than an hour to design the report. It took me 2 months to try and get the systems guy to install it but still not happening due to the fact its delphi/kylix database drivers which just are not so friendly as JDBC and the RM developer is not so friendly with support but its the only most decent open source alternative out there, you could also check out ICrystal.
> > -----Original Message----- > From: Ben Ramsey [mailto:[EMAIL PROTECTED] > Sent: Monday, January 19, 2004 5:41 PM > To: [EMAIL PROTECTED] > Subject: [PHP] Generating an Excel file? > > > I'm pretty sure I know how to use header() create a CSV file for a > client to download data from a database, but I think it would really > impress this client if I could generate a Microsoft Excel file instead > of a CSV file. Anyone know how to do this? > > -Ben > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php