10-27-2009, 03:22 AM
|
#4 (permalink)
|
|
is cute and cuddly
Join Date: Mar 2008
Location: Vegas, Baby
Posts: 963
Thanks: 31
|
That takes all the fun out of learning. :)
Would be...
php Code:
$myFile = 'testFile.txt'; $theData = array_reverse( file( $myFile ) ); foreach ( $theData as $row ) echo $row . '<br />';
Or however you wish. There's about 3,141.59265 ways to do anything in PHP.
|
|
|
|