Do you mean if the user selects a single value from each of the four
dropdowns, but never chooses a value that has already been selected in a
previous dropdown? If so, then there are 5 possible choices from the first
list, 4 from the second, etc. So, 5*4*3*2 = 120.
Kirk
> -----Original Message-----
> From: rm [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, July 18, 2001 11:21 AM
> To: List PHP
> Subject: [PHP] OT Math Question
>
>
>
> if i have four drop down menus with five values in
> each, and the values are the same for each of the four
> drop down menus, how many variations are there without
> duplicates, any dups,
>
> I though the formula was 5 to the 4th power minus 5,
> this can't possibly be right.
>
> math impaired and trying to fake it....
>
> rm
>
> __________________________________________________
> Do You Yahoo!?
> Get personalized email addresses from Yahoo! Mail
> http://personal.mail.yahoo.com/
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail:
> [EMAIL PROTECTED]
>
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]