I have a simple array:
$input = array('Line1', 'Line2', 'Line3');
And I want one of the values ββto be chosen randomly. I have done this before, but I canβt remember how I did it, and all the array_rand examples seem to be the more complex that I need.
Can any help be given? Thanks
arrays php
Cameron
source share