Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- $f = fopen('dat', 'r');
- $ignore_first = fgetcsv($f);
- for ($row = 1; $row <= 6; $row++) {
- $data = fgetcsv($f);
- echo "{$data[0]} {$data[1]}\n";
- }
- echo "something\n";
- for ($row = 1; $row <= 6; $row++) {
- $data = fgetcsv($f);
- if (!$data) break;
- echo "{$data[0]} {$data[1]}\n";
- }
- fclose($f);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement