way cool - thanks for the clues! Mark It's better to TEACH a man how to fish than to GIVE him a fish! -----Original Message----- From: jeffrey_n_Dyke@xxxxxxxxx [mailto:jeffrey_n_Dyke@xxxxxxxxx] Sent: Thursday, March 25, 2004 7:46 AM take a look at the header function http://php.net/header an example...ymmv header("Content-type: application/vnd.ms-excel"); header("Content-Disposition: attachment; filename=$filename" ); header("Expires: 0"); header("Cache-Control: must-revalidate, post-check=0,pre-check=0"); header("Pragma: public"); If you want to generate excel files with more features, take a look on phpclasses.org. There is a PHP port of the Perl Module SpreadsheetWriteExcell... HTH Jeff _______________________ -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php