I am accessing a php page that I append a username to and I receive back a text file containing data such as this. I always get 2 lines of data, and there are always 7 fields.
useridfirstnamelastnamemisc1misc2misc3misc4
JR007JessicaRobertsonaccountingArea55204
I really only need to keep the second line of data, ie: skip the first line, but I need to parse it out into 7 strings, so I can print only the strings I need. I am pretty new to php, or any language as far as that goes. Can someone give me a clue here?
I have tried using fopen and include to be able to grab the data, but the backslashes are killing me. I can’t get anything to parse correctly.