php parse text file 5 fields
Posted: Sat Aug 21, 2010 10:40 am
hi i have a text file with 5 fields per line.. i want to parse these fields and save it to mysql database table
this is the format of my text file:
joe 1234asdc 7:51:00 2010-08-21 hi
john 543kjkj 7:45:00 2010-08-21 hello
rey 675jhgj 7:40:00 2010-08-21 nice
the fields are separated by spaces.. anyone help me on how to do the exact coding..
this is the format of my text file:
joe 1234asdc 7:51:00 2010-08-21 hi
john 543kjkj 7:45:00 2010-08-21 hello
rey 675jhgj 7:40:00 2010-08-21 nice
the fields are separated by spaces.. anyone help me on how to do the exact coding..