Here is the simple code to create random numbers in php,
<?php
srand((double)time()*1000000);
echo rand(0,200);
?>
OR
<?php
srand((double)microtime()*1000000);
echo rand(0,100); ?>
Incoming search terms:
- create random password in php (2)
- php random number (2)
- demo for viewing table in database using php (1)
- how to use random number in php (1)
- php random number 2 files (1)
- php srand( ( double ) * (1)
- using AJAX creating random numbers (1)
You will also be interested in ,
- Water mark images using PHP 5 and GD Library
- How to get the IP address of the visitor with PHP?
- working with directories using php
- Url rewriting examples using .htaccess
- Quick method to prevent cross site scripting in php
- Fix 500 Internal Server Error In WordPress
- Exclamation mark (!) at odd places while using php mail fixed
- Email address validation using php
- Get DNS Record using PHP
- Fix Too many connections mysql_connect

