View Single Post
  #2 (permalink)  
Old 07-24-2007, 01:38 AM
vijayanand vijayanand is offline
D-Web Analyst
 
Join Date: Feb 2007
Posts: 293
vijayanand is on a distinguished road
Default Re: How do I generate a random number from php?

rand ( [int min, int max] )

this function will produce u to print the random numbers from the minimum number to the maximum number

for example

echo rand ( 0, 1000);
this will print the random number from 0 to 1000.
__________________

J.Vijayanand
Reply With Quote