I am having the issue of not having the value show also.
Here is what the code looks like
<?
include("../../global/dbinfo.inc.php");
mysql_connect(localhost,$username,$password);
@mysql_select_db($database) or die( "Unable to select database");
$sql = 'SELECT SUM(total) FROM invoices WHERE status LIKE "Past Due"';
$result = mysql_query($sql);
$row = mysql_fetch_row($result);
print $row[0];
?>
any ideas why I can not see the value?