I have created a forum on my site and I need a way to find out how many entries there has been per topic. Something like this but I do not know how to work it:
$SQL="SELECT COUNT(*) FROM thread WHERE topic='1'";
I know this must work but I do not know how to get the value, so if anyone could help it would be appreciated. Thanks.
Victor
victor@dragon-blizzard.com