how to separate and read data from text file
Posted: Tue Dec 14, 2004 12:04 am
I just started learning php and cant figure this out.
If i have a text file like this:
name1|location1|message1
name2|location2|message2
ect...
How can I read 1 line at a time, separate each section and display each value ? I know how to read a whole text file, but dont know
how to break it up and display each part separaetly.
If i have a text file like this:
name1|location1|message1
name2|location2|message2
ect...
How can I read 1 line at a time, separate each section and display each value ? I know how to read a whole text file, but dont know
how to break it up and display each part separaetly.