I have an array of phrases. I\'d like to randomly pick phrases from the array in a loop. I don\'t want to pick the same phrase more then once in the loop. I thought I could
You could also use array_slice
$ran_Num = array_rand($phrases); $ran_Phrase = array_slice($phrases, $ran_Num, 1);