Thank you for your help so far. I'll give you more detail on what I am trying to do.
I'm building a fantasy football website, and i need to include in the registration process a check to see if they have selected players from any given team more than 3 times. So if they have 3 players from AV it passes, but if they have 4 players from AV it fails.
The data is stored in a database and so far i have extracted the data into variables (for another part of the site). I want to take those variables (which contain the clubs for each player) and check to see if there are more than 3 instances of each club.
Hope this explains and helps you understand. If not I will try again? 
|