foreach total sum

91

foreach total sum -

$sum = 0;
foreach($group as $key=>$value)
{
   $sum+= $value;
}
echo $sum;

Comments

Submit
0 Comments