Is there a way to have php randomly select from a group of numbers instead of from a minimum to a maximum. I sometimes have gaps in the numbers, I only want it to be able to pick from the numbers I specify.
i.e instead of
$number=rand(1, 15);
$number=rand(1, 3, 5); and it picks from the available numbers