note 42795 rejected from function.mt-rand by tomsommer
| From: | tomsommer@php.net | Date: | Sat, 29 May 2004 20:40:48 +0000 |
| Subject: | note 42795 rejected from function.mt-rand by tomsommer | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-70284@lists.php.net to get a copy of this message | ||
Note Submitter: spitfire1288@insight.rr.com
----
I have started making a script to randomly select a temperature for the day (high and low)
$high = mt_rand(85, 100);
$low = mt_rand(75, 85);
but I am not sure how to make the numbers change only once a day. Any feedback on how I would do
this?