I often build simple reports using HTML tables and then add an Excel MIME 
header to the page which launches Excel.  Since newer verions of Excell 
suport HTML natively, Excel can read the HTML tables and render them 
appropriately with all your formatting.  I find this works well for simple 
reports and it requires very little effort.  Just an idea....

-----Original Message-----
From: Chad Day [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, June 18, 2002 10:52 AM
To: [EMAIL PROTECTED]
Subject: [PHP] PHP to Excel?


I'm trying to get data from my MySQL database into Excel using PHP.  I know 
and I am doing it right now by generating a CSV file, but is there any way I 
can do formatting, like make certain cells bold, etc etc?  Is there a list 
of codes somewhere I can use to put before my field output to make a field 
bold, stuff like that?

Thanks,
Chad


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


_________________________________________________________________
Join the world’s largest e-mail service with MSN Hotmail. 
http://www.hotmail.com


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to