Search a flat file.
| From: | Tom Ray | Date: | Sat, 08 Jun 2002 03:05:05 +0000 |
| Subject: | Search a flat file. | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-101235@lists.php.net to get a copy of this message | ||
I want to be able to search a flat file line by line looking for data such as a username then display all the information in that line. Is there some way to search the following format:
record1:username:info:info:info
record2:username:info:info:info
record3:username:info:info:info
So if someone submits the username in record two for the search I want it to stop at record two and then display that information...
any suggestions?