Re: Random Numbers
| From: | Neil Freeman | Date: | Wed, 23 Jan 2002 11:17:12 +0000 |
| Subject: | Re: Random Numbers | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-81664@lists.php.net to get a copy of this message | ||
Remember that you will firstly need to seed the random number generator.
Neil
Nick Wilson wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> * and then Philip J. Newman blurted....
> > Whats the best way to generate a random number?
>
> rand()
> check it out in the manual
>
> HTH
> - --
>
> Nick Wilson
>
> Tel: +45 3325 0688
> Fax: +45 3325 0677
> Web: www.explodingnet.com
>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.0.6 (GNU/Linux)
>
> iD8DBQE8TpWVHpvrrTa6L5oRAvLoAJ9lDvrCkb8z4wY92gpKqOOOKGNTFwCbBEtc
> fvoOOYUmYMBeFVci9+g9tDI=
> =34qN
> -----END PGP SIGNATURE-----
>
> --
> 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
>
> ***************************************************************
> This message was virus checked with: SAVI 3.52
> last updated 8th January 2002
> ***************************************************************
--
--------------------------------
Email: neil.freeman@asa.co.uk
neil_freeman@yahoo.com
--------------------------------