Hi I'm having a little bit of trouble here. First of all, our server is running PHP Version 3.0.15. I have a file in which looks like this...
$author|$title|$time1|$date1
Now, for each line, I grab the contents and stick it in variables like this...
for($m=1; $m <= $dasize; $m++) {
list(
$headlinesauthor[$m],
$headlinestitle[$m],
$headlinesdate1[$m],
$headlinestime1[$m]
) = split( '[|]', $dafilecontents[$m] );
}
see the arrays there?
I want to reverse the order of that, seeing that when a new record is added, it's added at the bottom of the file. I have not the slightest idea in the world, I read the array reverse function, but its for php4 only, so that won't help much. Also, I read the arraysort function, but that's a little confusing, and im not using multidimensional arrays here, so yeah...
Could a kind person please help me, I would most appreciate it, thank you.