Answers for "generate random digit string in php"

PHP
1

Generate Random String in PHP

phpCopy<?php 
$Random_str = uniqid();  
echo "Random String:", $Random_str, "n";
?>
Posted by: Guest on April-23-2021
0

generate random number of 4 digit in php

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

Code answers related to "generate random digit string in php"

Browse Popular Code Answers by Language