> Just a question, is it possible to dynamically create an excel spreadsheet > from data in a mysql database the excel sheet does not have to be > displayed, > just to be sent to print, to give better print quality than a webpage > tables > equivalent. > > Or is there another way of doing this?
Easiest way is to just send Excel headers with header() instead of the normal HTML headers. The data you send can be a regular HTML table, but it'll open in Excel and be converted to a spreadsheet. Then the user can format it however they want and print it. If that's not good enough, there are some other classes out there that'll give you more control. Search google or look on phpclasses.org. ---John W. Holmes... PHP Architect - A monthly magazine for PHP Professionals. Get your copy today. http://www.phparch.com/ -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php