I am assuming that you have figured out how to read the lines of the text file, so if you have gotten that far, use the following code to assign the columns to variables.
list($a,$b,$c,$d,$e) = split(' ',$your_textline_variable);
the split function is splitting the contents of the variable at each Space. you will need to use some kind of looping to handle multiple line in the file.
Hope this helps
Ed Warren