Ah thank you! :D That worked perfectly!
And I do have a random feature right now, but it seems to be picking the lower numbers quite more often than it should D:
PHP Code:
//ID ARRAY
$input = explode(",", $adoptid);
$rand_keys = array_rand($input, 2);
$species = $input[$rand_keys[0]];
I ran a quick test and made that loop 20 times. 3 showed up eight times, 4 eight times as well, 5 four times, and 6 zero times D: The array I used was "3,4,5,6"
(then I ran the loop again and 5/6 didn't appear at all D: )