Basically I have a 3Mb plain text file... that I want to read one line off at a time and store into mysql... (one line per row)
Im totally stuck on how to open the file and retrieve a single line...
Many advanced thanks...
Carl
Look into fgets(). The example in the manual should work. The user notes on fread() would point you to this.
$test=file(\"yourfile.txt\");
$test is directly define as an array made of each line from yout file