Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

random digit with seed php

srand(12345);
$randomNumbers = [];

for ($i = 0; $i < 5; ++$i) {
  $randomNumbers[] = rand(1, 100);
}

print_r($randomNumbers);
Source by www.hashbangcode.com #
 
PREVIOUS NEXT
Tagged: #random #digit #seed #php
ADD COMMENT
Topic
Name
8+1 =