I've got an array and i want to sum the values stored in it for example if i have aray[0]=1 aray[1]=2 aray[2]=3 i want to get the total (6) in this case but i can't get it to work. Any idea?
array_sum()
I feel somehow a fool thanks!