Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

choose a random word from an array php

$items = array(1, 2, 3, 4, 5);
echo $items[array_rand($items)];
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #choose #random #word #array #php
ADD COMMENT
Topic
Name
4+3 =