PHPJavascript

Web Development Guide – My Personal Library of Tutorials and Scripts

Random numbers in PHP

May1

Generate numbers in PHP and give your webpage a fresh look every time it is refreshed.

Random numbers can be very help like every time you refresh your page you get to see a new product .

Demo

Click here to view the demo.

Example

rand(0,100) defines the range. This means it will produce random numbers between 0 and 100.

posted under PHP

Email will not be published

Website example

Your Comment:

 

12,829 spam comments
blocked by
Akismet