Articles Posted in the " array_rand " Category

  • array_rand

    array_rand

    Syntax: mixed array_rand ( array $input [, int $num_req = 1 ] ) Description: Pick one or more random entries out of an array <?php $input = array("Neo", "Morpheus", "Trinity", "Cypher", "Tank"); $rand_keys = […]