the problem with it is there is no posts in the forum making mysql_result return "false" (Boolean)
i would change the mysql_result to mysql_fetch_array eg:
PHP Code:
$total = mysql_fetch_array((mysql_query("SELECT COUNT(*) FROM `forum` WHERE `type` = 't' AND `kiemduyet` = '1' AND kedit = '0' AND `close`!='1'"));
$total = $total[0];

Leave a comment: