Forum Moderators: coopster
table: boxscore
value:boston
column:team
it would look like something like this:
select * from boxscore where Team (is there more than 5 times).
I tried the > sign but it doesnt work because its a not a number its text..
$count = $row['count(Team)'];
if($count > 5){
//do your other queries
}//if
}//count
I don't like to use mysql that much because to me it is hard to do simple logic like you are trying to do. I almost always try to parse anything that I can with PHP and just use mysql to retrieve the data.