I designed a php/mysql poker game about two years ago, which was unfortunately lost in a hd crash. I would be more than happy to remake it to your liking if you would be interested in it.
It's a very fun, addicting game consisting of two rounds.
The game board is a 5x5 grid. A deck of cards is dealt one at a time and the user must select where in the grid to place the card (4 cards are allowed to be discarded in each game). Rare bonus cards are possible to find, allowing for a double (1st and 2nd round) or triple (in 2nd round only) score where the card is used.
After cards have been placed, each row, column and diagonal is scored based on poker hands. Daily. weekly, monthly, lifetime high scores can be kept as well.