You can use this code.
1 2 3 | //puts every line into an array line $array = explode("\n", $myfile_raw); |
To echo, use $i++.
1 2 3 4 5 6 | $i = 0; while ($i < 50) { echo ''.$array[$i].'<br>'; } |
You can use this code.
1 2 3 | //puts every line into an array line $array = explode("\n", $myfile_raw); |
To echo, use $i++.
1 2 3 4 5 6 | $i = 0; while ($i < 50) { echo ''.$array[$i].'<br>'; } |