Read Text File in Reverse
View Single Post
11-26-2008, 05:17 PM
Join Date: Jan 2008
I am not sure why the first code snippet wouldn't work, but that one did.
It runs it correctly too.
So just starting with:
$file = array_reverse( file( 'u4g.txt' ) );
is the way to read the file in reverse.
Thanks a bunch!
View Public Profile
Send a private message to buildakicker
Find More Posts by buildakicker