Hi, i have a query statement that looks like;
$ibresult=mysql_query("SELECT SUM(Ihouse) FROM incoming WHERE Kno = '$newarray[6]'",$link ) or die(mysql_error());
$buildings=mysql_fetch_array($ibresult);
where my database column (Ihouse column) contains a 0 (zero).
When i print out;
echo"Incoming Houses: ($buildings[0])";
It displays Incoming Houses: () 🙁 Instead of
Incoming Houses: (0) <---- which is what i want🙂
Please help, thanks😃