I need to get the number of rows of a studentID and then echo if the count is over 10.

This is what I wrote so far. But doesn't seem to work.

```
$findID = ID1231275;
$gipct = mysql_query("SELECT COUNT(studentID) FROM classFees WHERE studentID = '".$findID."'");
if ($gipct>10) {
echo ("$gipct");
}

```