is that possible to output the summary of INT variables in (mysql_fetch_array)?
$result=mysql_query("SELECT numbers FROM table ORDER BY rand() LIMIT 3");
while ($row = mysql_fetch_array($result)) {
echo $row['number'] . "<br/>";
}
the output would be like this:
23
37
31
The question is can i output the sumarry of this three results in the same while loop? Which it’s “91”.
Why in the same loop? Why not just do something like this?