Dear developers,
i want to ask about creating an excel file as workbook type using PHP. as we know that PHP is able to generate an excel file using script like :
[code=php]$file = “reseller_report_detail.xls”;
header(“Content-type: application/msexcel”);
header(“Content-Disposition: attachment; filename=”.$file);
. But then the file that we generate is generated as a web page type not a workbook type eventhough is use [B].xls
Thank you very much for your answer ?