Why rand() Doesn't Work?
| From: | Wingo Chan | Date: | Sat, 16 Sep 2000 06:17:24 +0000 |
| Subject: | Why rand() Doesn't Work? | ||
| Groups: | php.windows | ||
| Request: | Send a blank email to php-windows+get-2692@lists.php.net to get a copy of this message | ||
I'm a php newbie. I tried every means to make the following work under win98:
$disp_num = rand(0,13);
It just returned a 0 everytime I ran it. Any hints where I went wrong will be highly appreciated.
Wingo Chan