parse text file
| From: | Benjamin Adams | Date: | Sun, 23 Jul 2006 19:47:50 +0000 |
| Subject: | parse text file | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-239710@lists.php.net to get a copy of this message | ||
how would I read a file one line at a time:
<?php
if($lines < $alllines){
$newline .= $lines;
}
?>
something like that, I'm cofused on if I use fread, something which
will do one line at a time?