<? $k_v=mysql_result(mysql_query("SELECT COUNT(*) FROM `votes` WHERE `close`='0'"), 0); $k_all=mysql_result(mysql_query("SELECT COUNT(*) FROM `votes`"), 0); echo $k_v.'/'.$k_all; ?>