728x90
Is there a way to generate a random number based on a min and max?
For example, if min was 1 and max 20 it should generate any number between 1 and 20, including 1 and 20?
<?php $min=1; $max=20; echo rand($min,$max); ?>
'WEB' 카테고리의 다른 글
Subdomain to Sudirectory 301 Redirect Generator for Htaccess (0) | 2020.01.30 |
---|---|
HOW TO OPTIMIZE IMAGES ( Lossy & Lossyless ) (0) | 2019.10.25 |
How do I make a full-width iframe with fixed aspect ratio? in Youtube (0) | 2019.05.26 |
Runtime Configuration in PHP (0) | 2019.05.07 |
Cisco AnyConnect Secure Mobility Client 4.5 Download Links (0) | 2019.03.24 |