If you want to choose an entry randomly from an array then you can use the array_rand function like this: This will print a random number between 1 and 49. You can also use array_rand to return a ...