Answers for "php random 1 to 20"

PHP
1

generate random number of 4 digit in php

<?php
$FourDigitRandomNumber = mt_rand(1111,9999);
echo $FourDigitRandomNumber;
?>
Posted by: Guest on October-16-2021
4

php $randomUA[rand(0, count($randomUA) 1)

rand(0,10);
or
random_int(0,10)
Posted by: Guest on October-03-2020

Code answers related to "php random 1 to 20"

Browse Popular Code Answers by Language