Forum Moderators: coopster
I`m using the following to display the text file info:
$loadfile = @file($datafile);
$count = sizeof($loadfile);for ($i=0; $i<$count; $i++)
{
list ($date, $ip, $name, $email, $link, $size) = explode("¦", $loadfile[$i]);
echo stuff.....
}
If I wanted to order the information by date, how would I go about that?
Thank you.
:) hehe.
I think you are asking "How can I sort flat text file data?" and if I am correct, will the technique used in Sorting fgetcsv information [webmasterworld.com] work for you?