Page 1 of 1

statistic with hole cards

PostPosted: Wed Jun 27, 2012 1:10 am
by husngforfood
Is there any way to make this string equal 'this' or 'that', something like this:

tourney_hand_player_statistics.id_holecard = 70 OR 80

Or do I have to crazy and do this:

tourney_hand_player_statistics.id_holecard = 70 OR tourney_hand_player_statistics.id_holecard = 80 OR ...

Re: statistic with hole cards

PostPosted: Wed Jun 27, 2012 3:12 am
by WhiteRider
If you want to check specific numeric values you'll need to check them separately as you suggest.

If you want all multiples of 10 (or more likely multiples of 13 for hole cards) you can use "modulo", which is a % sign.
For example:
tourney_hand_player_statistics.id_holecard % 10 = 0
But that wouldn't give you only 70 or 80.
This post has examples if you want more information on that.

highfalutin