From 89aa11478e0d1dd781452ede362687155de623b2 Mon Sep 17 00:00:00 2001 From: Agasi Gilang Persada <464516p@gmail.com> Date: Thu, 31 Oct 2019 21:22:26 +0700 Subject: [PATCH] Add some documentation on read data from specific sheet --- docs/_pages/guides/3-read-data-from-specific-sheet.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/_pages/guides/3-read-data-from-specific-sheet.md b/docs/_pages/guides/3-read-data-from-specific-sheet.md index c1cd547..13f83e6 100644 --- a/docs/_pages/guides/3-read-data-from-specific-sheet.md +++ b/docs/_pages/guides/3-read-data-from-specific-sheet.md @@ -22,6 +22,8 @@ foreach ($reader->getSheetIterator() as $sheet) { if ($sheet->getName() === 'summary') { foreach ($sheet->getRowIterator() as $row) { // do something with the row + $row->getCells()[0]->getValue(); + $row->getCells()[1]->getValue(); } break; // no need to read more sheets }