. Advertisement .
..3..
. Advertisement .
..4..
How do I read file into an array in php? Your suggestions would help me a lot.
Here is a suggestion for you$handle = fopen("inputfile.txt", "r");
if ($handle) {
while (($line = fgets($handle)) !== false) {
// process the line read.
}
fclose($handle);
} else {
// error opening the file.
}
Here is what you should do for this topic