well theres way too much code, but the nuts&bolts are similar to this:
I pull in a file: myData.txt
Which contains data like this:
| 25 16 | 1.8 1 | 1.8 7.8 108 | | | | | |
| 25 17 | 1.7 1 | 1.7 7.8 108 | | | | | |
| 25 18 | 1.7 1 | 1.7 7.7 109 | | | | | |
| 25 19 | 1.6 1 | 1.6 7.7 109 | | | | | |
| 25 20 | 1.6 1 | 1.6 7.7 109 |
then to target each value between the pipes
i do something like
$hi = file("myData.txt");
print_r(explode('|', $hi[$i][$j], -1));
basically i want to be able to read out, something like (based on example data above)
Array[1] => 25 16
Array[2] => 18.1
Array[3] => 1.8 7.8 108
Array[4] => 25.17
Array[5] => 1.7.1
etc.....
like i said i havent got it working yet. I sometimes just get the print "array", sometimes just a helluva loop ( i think it then puts each character as the value, instead of the total between the pipes)etc.
Sorry that i cant put up all the code but its too biiiiiiiiiiiiiiiiiiiiiiiig
Thanks,
BigLee