why cant i get this to sum > ??? <?$link = mysql_connect("localhost","root","goobers") or die(mysql_error());
mysql_select_db("workorder", $link);
$result = mysql_query("SELECT SUM(`ElecRem`) AS
total FROM orders", $link);
//$total = mysql_fetch_row($result);
echo mysql_result($result); //
outputs total
//return $total[0];
echo mysql_error();
?>
-- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe: http://lists.mysql.com/[EMAIL PROTECTED]
