Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if (($handle = fopen("Day1.CSV", "r")) !== FALSE)
- {
- while (($data = fgetcsv($handle, 1000, ",", "//")) !== FALSE)
- {
- // do something with the data here
- echo $data[0] . " - ". $data[1] . " - ". $data[2] . "</br>" ;
- }
- fclose($handle);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement