RE: [PHP-DB] php -> excel

2003-01-20 Thread Boaz Yahav
In case you are on a windows machine :

http://www.weberdev.com/index.php3?GoTo=get_example.php3?count=1820

berber

-Original Message-
From: David Rice [mailto:[EMAIL PROTECTED]] 
Sent: Sunday, January 19, 2003 5:14 PM
To: [EMAIL PROTECTED]
Subject: [PHP-DB] php -> excel


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?





_
MSN 8 with e-mail virus protection service: 2 months FREE* 
http://join.msn.com/?page=features/virus


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


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




RE: [PHP-DB] php -> excel

2003-01-19 Thread John W. Holmes
> 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




[PHP-DB] php -> excel

2003-01-19 Thread David Rice
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?





_
MSN 8 with e-mail virus protection service: 2 months FREE* 
http://join.msn.com/?page=features/virus


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