Hi,
try this instead of your query
$sql = mysql_query("SELECT Id COUNT(Id) as result FROM vis_java WHERE Java = TRUE GROUPE By Id ")
now the returning object will be e table with the following information
id / result
1 5
3 2
so in the table there was found 5 times the combination id = 1 and Java = true
hope that is what you are looking for
mfg Taffy
$sql = mysql_query("SELECT Id COUNT(*) FROM vis_java WHERE Java = True GROUP BY Id "