Posted by H@C0 on 12/10/06 11:58
One more question ...
How can I count the results?
I want each line of the results to start with a count number.
TIA,
Hans
>>
>>Something like this will display all records containing "London"
>>
>>$search="London";
>>
>>$data=file("data.txt");
>>
>>foreach ($data as $row){
>> $field=explode("||",$row);
>> if(strpos($field[0],$search)!==false){
>> echo $row,"<br>";
>> }
>>unset($field);
>>}
[Back to original message]
|