note 19331 deleted from function.srand by cece
| From: | cece@php.net | Date: | Tue, 30 Mar 2004 14:10:21 +0000 |
| Subject: | note 19331 deleted from function.srand by cece | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-67380@lists.php.net to get a copy of this message | ||
Note Submitter: ceo@l-i-e.com
----
D'oh!
Move the $choice = rand(1,3) *OUTSIDE* the if() block, of course!