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/ > [EMAIL PROTECTED] > 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 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php