You are here: Re: Flat file db. Only display records of unique field data. « All PHP « IT news, forums, messages
Re: Flat file db. Only display records of unique field data.

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.

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация