View Single Post
Old 12-02-2012, 01:02 AM   PM User | #1
Developr
New Coder

 
Join Date: Mar 2009
Posts: 67
Thanks: 0
Thanked 0 Times in 0 Posts
Developr has a little shameless behaviour in the past
How can I parse this text file and save the results in a database?

I want to take this text file:
http://phpir.com/user/files/text/lexicon.txt

and in each row I want a value for the word, and the identifier (the 2 or 3 letters beside that word).

How can I separate the two though if there's no delimeter? Is there a way to represent the new line as the delimeter instead?
Developr is offline   Reply With Quote