wrong case for 'k' in code
(Use lowercase variable and function names for consistency throughout the book and usual conventions) |
(wrong case for 'k' in code) |
||
$lines = file('data.txt');
foreach($lines as $Key => $line) {
$lineNum = $
echo "Line $lineNum: $line";
}
|