non c'č molto da fare. Passi il tuo array alla funzione array_rand, se leggi il link c'č anche un esempio che puoi usare. Fai una prova