I have a huge block of zip codes I need to seperate into their constituent
parts for a query of a database. The block looks like this (in part):

|  36310  ABBEVILLE  |
|  35440  ABERNANT  |
|  35005  ADAMSVILLE  |
|  35540  ADDISON  |
|  35006  ADGER  |
|  35441  AKRON  |

I need to use eplode (probably) to seperate this all out into two arrays,
one of codes, the other of names--presumably named $zips[] and $cities[]
with the rest of the data dumped.

I have gone and looked at the various functions docs at php.net, but they
haven't really helped to answer my question as much as I would like. Any
information is appreciated.


PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to