Phpexcel Display Sheet(2) In Html
I have to display an excel workbook in html form because some will view the page with Macbooks and for sure not everybody has excel installed. The workbook has five sheets which ha
Solution 1:
Perhaps by using the HTML Writer's writeAllSheets()
method
$objWriter = PHPExcel_IOFactory::createWriter($objPHPExcel, 'HTML');
$objWriter->writeAllSheets();
$objWriter->save('php://output');
Note that the writer name, 'HTML'
should be uppercase, some operating systems are case-sensitive
Post a Comment for "Phpexcel Display Sheet(2) In Html"