Results 1 to 5 of 5
Aug 24, 2002, 13:01 #1
- Join Date
- Feb 2002
- see above
- 0 Post(s)
- 0 Thread(s)
a do while loop for parsing a text file
I am fairly certain that this can be done, from what i have read/been reading i am just not sure how.
i have a text file with a list of zipcodes and cities for a project i am working on, i need to seperate the list for a drop down menu, my text file is formated nicely like so:
there are 1600 entries and there are 2 spaces between the zipcode and the name of the city, I need php to parse the text file and deposite each item into a table in my database for each entry, that way i can simply create a dynamic dropdown menu via a MySQL db.