is there an end of line function similar to feof(), but for lines ??
want to read each LINE in one at a time..
Go look at [man]fgets/man
you can use either fopen: http://www.php.net/fopen OR file: http://www.php.net/file
Here's an example using file:
$fLines = file($filename); foreach($fLines as $line){ rtrim($line);//remove newline char, and other whitespace print $line . "<br>"; }//end foreach