for ($col = 0; $col < $highestColumnIndex; ++ $col) {
$cell = $worksheet->getCellByColumnAndRow($col, $row);
$val = $cell->getValue();
echo "Print Value is: ".$VAL;
}
OUTPUT:
Notice: Undefined variable: VAL in C:\xampp\htdocs\trunk_release_cycle04\application\importstatus.php on line 28
SOLUTION:
Variable name in PHP is case-sensitive. Replace $VAL into $val.
$cell = $worksheet->getCellByColumnAndRow($col, $row);
$val = $cell->getValue();
echo "Print Value is: ".$VAL;
}
OUTPUT:
Notice: Undefined variable: VAL in C:\xampp\htdocs\trunk_release_cycle04\application\importstatus.php on line 28
SOLUTION:
Variable name in PHP is case-sensitive. Replace $VAL into $val.
0 comments:
Post a Comment