Re: randomize etc?

From: Date: Thu, 01 Aug 2002 18:23:29 +0000
Subject: Re: randomize etc?
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-110723@lists.php.net to get a copy of this message
At 08:19 PM 8/1/2002 +0200, Hawk wrote: try using explode then walk through the array that explode makes :-) does that help? ~kurth
I'm trying to make a small script that I can use for randomizing teams and stuff, I have one field where I enter how many teams, one for how many in each team, and a <textarea> to write down all the players in. This is where my brain stopped working, first I was thinking about using split, but I don't know how when there isn't a predefined number of variables to split it into, how do I do this? and when I have separated them into variables, how do I put them into arrays? or maybe that's not a good way to do it? I don't know, and the heat in my room is killing me, can't think clearly :) Håkan -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Kurth Bemis - Network/Systems Administrator, USAExpress.net/Ozone Computer "Jedi business, Go back to your drinks" - Anakin Skywalker, AOTC kurth@usaexpress.net | http://kurth.hardcrypto.com PGP key available - http://kurth.hardcrypto.com/pgp

« previous php.general (#110723) next »