ok so i am taking a list of numbers and stashing them i an array by going $total. then i try to use array_sum($total) and i dont get the last added number instead i get numbers that keep adding up to the final number
i have even just used $total += and i just get the same result. could some one help me with trying to just get the last total number.
thanks in advanced