php_Mail

Last updated on November 16th, 2015 at 09:57 am

VN:F [1.9.22_1171]
Rating: 9.5/10 (2 votes cast)

Here is the simple code to create random numbers in php,

<?php
  $min=10;
  $max=500;
  echo rand($min,$max);
?>

This will create a random number between minimum value of 10 and maximum value of 500

VN:F [1.9.22_1171]
Rating: 9.5/10 (2 votes cast)

Leave a Reply

Your email address will not be published. Required fields are marked *