File tree Expand file tree Collapse file tree 1 file changed +10
-0
lines changed
exercises/have-the-last-say/problem Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -48,12 +48,22 @@ Note: only the values changed from the defaults are specified!
48
48
49
49
You will need to open the filer for writing before using ` fgetcsv ` you can do that using ` fopen ` .
50
50
51
+ ` fgetcsv ` will return * one* line at a time
52
+
53
+ You will most likely need a loop to process all the data in the file.
54
+
55
+ You will need to keep reading from the file until it has been fully read. ` feof ` is your friend here to know
56
+ whether there is any data left to read.
57
+
51
58
Documentation on the ` fopen ` function can be found by pointing your browser here:
52
59
[ https://www.php.net/manual/en/function.fopen.php ] ( )
53
60
54
61
Documentation on the ` fgetcsv ` function can be found by pointing your browser here:
55
62
[ https://www.php.net/manual/en/function.fgetcsv.php ] ( )
56
63
64
+ Documentation on the ` feof ` function can be found by pointing your browser here:
65
+ [ https://www.php.net/manual/en/function.feof.php ] ( )
66
+
57
67
----------------------------------------------------------------------
58
68
## EXTRA
59
69
You can’t perform that action at this time.
0 commit comments