PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
This is for a lottery type game where you pick four numbers between 1 and 9 so I used the if/else to check each number to see if it's right and if so add one to the total number right, but it probably would be better to use switch. Not sure.