RE: [PHP] Re: Exporting HTML to Excel

2004-10-13 Thread Gryffyn, Trevor
Philip Thompson wrote: - ?php header('Content-Type: application/ms-excel'); header('Content-Disposition: attachment; filename=project.xls'); ? table tr tdSomething/td /tdSomething else/td /tr /table - I just want it

Re: [PHP] Re: Exporting HTML to Excel

2004-10-13 Thread Philip Thompson
On Oct 13, 2004, at 10:40 AM, Gryffyn, Trevor wrote: To all who've helped. Thanks for your input. [embarrassment] Truthfully, when I gave that example in my original email, I didn't try that specific one. But it did work for me also when I attempted that one. [/embarrassment] The reason I was

Re: [PHP] Re: Exporting HTML to Excel

2004-10-13 Thread John Holmes
Philip Thompson wrote: Well, whenever I click on the link to export to excel (in IE), a File Download box pops up. It says the 'File name: toexcel.php' and the 'File type: ' (blank). It asks if I want to open or save. However, the File name should not be toexcel.php (that's the page), it should

Re: [PHP] Re: Exporting HTML to Excel

2004-10-13 Thread Philip Thompson
On Oct 13, 2004, at 11:30 AM, John Holmes wrote: Philip Thompson wrote: Well, whenever I click on the link to export to excel (in IE), a File Download box pops up. It says the 'File name: toexcel.php' and the 'File type: ' (blank). It asks if I want to open or save. However, the File name