Header Information for Formatting?
| From: | Jay Blanchard | Date: | Thu, 02 May 2002 13:05:51 +0000 |
| Subject: | Header Information for Formatting? | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-95689@lists.php.net to get a copy of this message | ||
G' morning!
Can someone tell me where to find the various options for the Header
function as it relates to M$ Excel? Yesterday, thanks to this list, we found
a way to open a worksheet in the browser and display data retrieved from a
database. The worksheet opens with no gridlines and displaying zero values,
I would like to see gridlines and no zero values. Are there options that can
be placed in the header function. I have looked at MSDN and did a Google
search that did not reveal much of anything.
Here is the header info being used...
header("Content-Type: application/x-excel");
header("Content-Disposition: inline; filename=\"excel.xls\"");
header("Expires: 0");
header("Cache-Control: must-revalidate, post-check=0, pre-check=0");
Thanks!
Jay Blanchard