RE: MySQL to EXCEL?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> -----Original Message-----
> From: Daniel Brunner [mailto:daniel.brunner@xxxxxxxx]
> Sent: Tuesday, August 17, 2004 2:45 PM
> To: php-db@xxxxxxxxxxxxx
> Subject: Re:  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...

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


[Index of Archives]     [PHP Home]     [PHP Users]     [Postgresql Discussion]     [Kernel Newbies]     [Postgresql]     [Yosemite News]

  Powered by Linux