note 25107 added to function.rand
| From: | moonwoon4290 at yahoo dot com | Date: | Wed, 11 Sep 2002 04:09:30 +0000 |
| Subject: | note 25107 added to function.rand | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-36490@lists.php.net to get a copy of this message | ||
hi all >>
how can i apply this code :
<?
$t=rand(2,56);
echo $t;
?>
in evry time whin i tested this code the browser print the first value in evry time so the result
will be 2 only
and when i change the value between the bractes the browser print the first value what is the
problem help me please??
--
http://www.php.net/manual/en/function.rand.php
http://master.php.net/manage/user-notes.php?action=edit+25107
http://master.php.net/manage/user-notes.php?action=delete+25107
http://master.php.net/manage/user-notes.php?action=reject+25107