DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
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
COMMENT
Name
4+3 =
Submit