Say that I got some values in my db. I want to do some calculation with them and then store them temp. somehow to compare against the other.
speed: 2, 4, 6
acc: 2, 3, 7
where 2,2; 4,3 and 6,7 is the pairs.
But ofcourse I get 13 in $summa and thats my problem, how do I "save" the sums 4, 7 and 13 temp. so I can rank them etc?
while($rad=mysql_fetch_array($result)) {
$summa = $rad[speed] + $rad[acceleration];
......
Thanks.