Name

srand

Synopsis

srand($integer);

Seeds the random number generator with the value integer. This function should be called once and only once at the beginning of any script where you use the rand function.

Get MySQL and mSQL now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.