header("Content-type: application/vnd.ms-excel"); 
header("Content-Disposition: attachment; filename=report.xls"); 

----- Forwarded by Larry Li/APPLIED MATERIALS on 11/25/2003 03:40 PM -----




"Phillip Jackson" <[EMAIL PROTECTED]>
11/25/2003 02:30 PM
 
        To:     [EMAIL PROTECTED]
        cc: 
        Subject:        [PHP] Re: Excel Table & download it
 


excel can read html tables with partial formatting through stylesheets

output html <table><tr><td> tags and save the file as an *.xls file. i
redirect back to the file after writing to it - ie doesn't display it,
rather it prompts to download.

~phillip

"Leon" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
hi~

I want generate an excel table & download it as a file (not view in IE),
what HTML mimetype should i use?

        leon
[EMAIL PROTECTED]
          2003-11-24

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

Reply via email to