selecting data from file with php
| From: | Idur | Date: | Fri, 08 Aug 2003 19:00:12 +0000 |
| Subject: | selecting data from file with php | ||
| Groups: | php.windows | ||
| Request: | Send a blank email to php-windows+get-21086@lists.php.net to get a copy of this message | ||
hi there,....
i have file address.txt, it's content of address of customer, like this ;
name age city
jony 27 new york
george 25 dallas
mony 23 mexico
edward 30 new york
budy 22 dallas
dennise 21 new york
hox to count the field of city, so the result is, like this
city count
dallas 2
new york 3
mexico 1
so i know how many user from a specific city, for the information i am not using mysql. Is that to
difficult to do it with out mysql...??
Did php have the function to do selecting data like mysql....???
thanx
---------------------------------
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software