<?php
$inputFileName = './NIB.xlsx';
$inputFileType = PHPExcel_IOFactory::identify($inputFileName);
$objReader = PHPExcel_IOFactory::createReader($inputFileType);
$objPHPExcel = $objReader->load($inputFileName);
?>
我使用上述無題目-2.PHP文件代碼和所有phpexel庫數據是如在我的附件圖像未找到。我不知道更多aboute phpExel請。幫我致命錯誤:類「PHPExcel_IOFactory」在phpExel
我想讀NIB.xlsx文件
我也藉此幫助鏈接:link
但是當我跑我的名字,2.PHP 顯示它的錯誤「致命錯誤:在'untitled-2.php'中沒有在phpExel中找到'PHPExcel_IOFactory'類;
我該怎麼辦?幫助
您是否在代碼中的任何位置包含PHPExcel庫? –
你是對的。現在我的代碼正在工作......謝謝:) –