+ 1
Is there a way to select a random part of an array> like a echo $array[random] ?
2 Answers
+ 3
I don't think there's any direct way for that. So, generate two random numbers in the range of array index. Take the substring between them.
+ 2
You almost anwered your question by yourself... read it again you are very close ^^"