I've got this text file full of lines like:
A*1King Richard Dale*3Welton Orchard Rd*4Petersburg* 5257-1234Î
the columns are defined by the *#, so that line would break apart
like:
A*1King Richard Dale *3Welton Orchard Rd *4Petersburg *5257-1234Î
Basically, what I need to do is read this file and I need to write
field 1, 4 and 5 which need to go into a text file in tab delimited
format like:
King Richard Dale Petersburg 257-1234
What can I do to get this task accomplished? I'm familiar with
requesting and manipulating data from mysql but this reading/writing
to a txt file is completely new to me. I have about 1 years worth of
off and on PHP experience. Any help is greatly appreciated. Thank you
Jason