Re: Repition Reduction ?
| From: | Richard Lynch | Date: | Wed, 24 Jan 2001 08:54:55 +0000 |
| Subject: | Re: Repition Reduction ? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-36359@lists.php.net to get a copy of this message | ||
> I'm making a small quiz script, and wanted to know how
> I could minimize repition of questions to a single
> user.
>
> And also how to randomize all the questions ?
If you put all the questions in an array, and then call
http://php.net/shuffle on it, you'll do both.