Re: I need a random number eather one or two
| From: | jtjohnston | Date: | Sun, 24 Feb 2002 03:04:13 +0000 |
| Subject: | Re: I need a random number eather one or two | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-85973@lists.php.net to get a copy of this message | ||
rand (1, 2)
http://www.php.net/manual/en/function.rand.php
?
J
"Philip J. Newman" wrote:
> I'm trying to make a random number kind of a coin toss,
>
> heads = 1 = left
> tales = 2 = right
>
> any solutions
>
> Philip J. Newman
> Philip's Domain - Internet Project.
> http://www.philipsdomain.com/
> info@philipsdomain.com
> Phone: +64 25 6144012
--
John Taylor-Johnston
-----------------------------------------------------------------------------
' ' ' Collège de Sherbrooke:
ô¿ô http://www.collegesherbrooke.qc.ca/languesmodernes/
- Université de Sherbrooke:
http://compcanlit.ca/
819-569-2064