PHP: rand - Manual - PHP: Hypertext Preprocessor
If called without the optional min, max arguments rand() returns a pseudo-random integer between 0 and getrandmax(). If you want a random number between 5 and 15 (inclusive), for example, use rand(5, 15). Note: On some platforms (such as Windows), getrand...