I want to read a huge excel file in patches so as to reduce reading time. I wrote the code below.
$xls = new Spreadsheet_Excel_Reader($path);
$dd=array(0);
for($row=2;$row<=10;$row++){
$val=$xls->val($row,$field);
}
This takes a lot of time each time the file is read because the file is huge. The file also gets reloaded each time.
How can I read only the required rows of the file to save time??