I am attempting to add values that I am pulling from an array. Here is a really simple example.
$newAr = Array(200000, 300000, 400000, 600000);
$newArCount = count($newAr);
for($i=0; $i<$newArCount; $i++)
{
$getValue .= + $newAr[$i];
}
I am not getting the expected results. I want to add these values to equal a final numeric sum. I tried using the setype() function and still had no luck. Any help would be appreciated.
Thanks