Re: random no. between two numbers?
| From: | Frederico Augusto Costa | Date: | Wed, 17 Jan 2001 11:21:52 +0000 |
| Subject: | Re: random no. between two numbers? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-35020@lists.php.net to get a copy of this message | ||
Have you tried rand(1,100) ?
------------------------
Frederico Augusto Costa
facosta@magnux.com.br
------------------------
On Tue, 16 Jan 2001, Erick Papadakis wrote:
> hi,
>
> in php, how can i generate a random no. but between
> two numbers? for example, i need to generate any
> integer, randomly, between 1 and 1000.
>
> thanks a lot!
>
> regards/erick
>
>
> __________________________________________________
> Do You Yahoo!?
> Get email at your own domain with Yahoo! Mail.
> http://personal.mail.yahoo.com/
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
> For additional commands, e-mail: php-general-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
>