Hi
I tried using the code below to send the output to an Excel sheet in my
browser by changing the header to "Content-type: application/vnd.ms-excel".
However I only see normal text in a browser. Excel is not launched. What is
wrong??
--------------------------------------------------------------
<?php
Header ("Content-type: application/ms-excel");
Header ("Content-type: application/vnd.ms-excel");
echo "<html><body>";
echo "<table>";
echo "<th>F1</th><th>F2</th>";
echo "<tr><td>Hi</td><td>Hi</td></tr>";
echo "</table>";
echo "</body></html>";
?>
----------------------------------------------------------
Thanks
Tim
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]