|
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)?
Navigation:
[Reply to this message]
|