Posted by Tyrone Slothrop on 12/13/06 14:33
On Wed, 13 Dec 2006 11:31:50 +0100, "H@C0" <name@fish.net> wrote:
>Actually I use a tab delimited ('\t') .txt file as database.
>The '||' I used for the example.
>I also managed to display the search result in reversed order
>by using array_reverse.
>However, the problem is how to display the reverse counting of the rows of
>the results.
I am guessing what you want here, but the number of records is
count(array). Start there and go backwards,
$count = count(array);
<?=$count--?> Record #1
<?=$count--?> Record #2
etc.
[Back to original message]
|