hi i was wondering how to count specific variables in an sql database and have it echo the count in a php script.
below is what i have so far.
$query = "SELECT * FROM ibf_members WHERE mgroup";
$result = mysql_query($query) or die("Query Ruter failed");
while ($row = mysql_fetch_array($result));
i dont know what to do from there