I have a table tblbets that has team1id and team2id. I am entering 2 teams into the table and I am trying to get it to check to see if the teams have already been entered. It doesn't matter in which order they have been entered.
So, I query the table, place it in an array, and I am using the if statement to check the if the id's are already in the table.
I hope that makes sense.