RE: [PHP-DB] MySQL to EXCEL?

From: Date: Wed, 18 Aug 2004 00:50:35 +0000
Subject: RE: [PHP-DB] MySQL to EXCEL?
References: 1  Groups: php.db 
Request: Send a blank email to php-db+get-35761@lists.php.net to get a copy of this message
> -----Original Message----- > From: Daniel Brunner [mailto:daniel.brunner@duni.com] > Sent: Tuesday, August 17, 2004 2:45 PM > To: php-db@lists.php.net > Subject: Re: [PHP-DB] MySQL to EXCEL? > > I don't know how you have it setup. > > But you can create a XLS file on the fly using PHP.... > > By using header... > > header("Content-Type: application/vnd.ms-excel"); > header("Content-Dispostion: attachemnt; filename='Project.xls'"); > header("Pragma: no-cache"); > header("Expires: 0"); > > > Then just echo your results from your query, like normal... Could you expound on this? What field delimiter are you using? > > > You have just created a XLS from PHP...Which can be saved to a XLS > Workbook...

« previous php.db (#35761) next »