Random number generator
We can generate random value by using PHP. We can specify a range and the random value between those two ranges (inclusive) will be generated.
Note that here we are generating a random number only. To get any random characters we can use arrays. The details on how to generate random characters is available here.
Here is the code to generate random numbers.
Value = ".rand(5,10);
Read here how to generate random string having alphabets and digits
// Will display random value
between 5 and 10 ( both inclusive )
Number of User Comments : 1