Articles → PHP → Rand() Function In PHP
Rand() Function In PHP
Purpose
Example
<!DOCTYPE html>
<html>
<body>
<?php
echo(rand() . "
<br>");
echo(rand(10,100));
?>
</body></html>
Output
Click to Enlarge
Posted By - | Karan Gupta |
|
Posted On - | Sunday, September 27, 2020 |