SyntaxFix
Write A Post
Hire A Developer
Questions
I have replace your Code and it works well
$sum=0; while ($row = mysql_fetch_assoc($result)){ $value = $row['Value']; $sum += $value; } echo $sum;