Winning Odds Script

I need a PHP script that will accept input from user to generate a random value (winner or Loser) based on the input (from the user). For example:

Winner odds is 1 out of X. Max number of winners is Y (User will input X and Y)

So the script will generate winning or losing responses based on the odds given and only output Y number of winner responses.

Leave a Reply

Your email address will not be published. Required fields are marked *