ok, .. so
i want to use information stored in a flatfile txt file.
the data is stored as follows
5|1|3|0|5|6
3|7|2|4|6|2
2|0|5|2|4|6
and so on
i need to use these numbers in equations within a php script.
how do i do it .. and more importantly how do i total across records for example
i would need to total all entries in the first column of each row within the file .. so 5+3+2 and so on
is there a way to define each "digit" location a variable or something?
i can't figure it out, please help ... please please please.
thanks a million in advance .. if i didn't explain it well please let me know i'll do my best to explain in further detail.
chris