PHPExcel Reader Example #03

Simple File Reader using the PHPExcel_IOFactory to Return a Reader

'; $objReader = PHPExcel_IOFactory::createReader($inputFileType); $objPHPExcel = $objReader->load($inputFileName); echo '
'; $sheetData = $objPHPExcel->getActiveSheet()->toArray(null, true, true, true); var_dump($sheetData); ?>