Reply to Flat file db. Only display records of unique field data.

Your name:

Reply:


Posted by H@C0 on 12/13/06 10:31

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.

On Tue, 12 Dec 2006 03:31:49 +0100, "Rik" <luiheidsgoeroe@hotmail.com>
wrote:

>H@C0 wrote:
>> Hi,
>> I am using a flat file database like:
>>
>> London || Bill F. || email-1
>> Paris || Pierre E. || email-2
>> Berlin || Hans K. || email-3
>> London || Harry W. || email-4
>> Madrid || Juan G. || email-5
>>
>> I only want the records being displayed of the city of London
>> (field1), not using a search command. How can I accomplish that?
>> Or does anybody know an URL with an example?
>> Regards, Hans
>
>
>Hmmz,
>to bad you used 2 characters as your delimiter, else fgetcsv() would save
>you a lot of time... Is it too late to change this (and what were your
>reasons to ignore ye olde but still kicking csv format)?

[Back to original 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

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