PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
$a = $a //$a is from mysql
$b = $b //$b is from mysql
$c = $c //$c is from mysql
$d = $a * $b * $c
echo $d;
while ($row = mysql_fetch_row($mysql_result)) {
if ($rowї0] == $d) {
$query = "UPDATE table SET $d";
where field in database is not updated, i don't know why....
2. i'd like to display sum of any column...