PHPExcel Reader Example #05

Simple File Reader using the "Read Data Only" Option

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