Re: [PHP] checking for duplicate values among five variables

2007-07-07 Thread tedd
At 9:51 PM -0500 7/6/07, Kenn Murrah wrote: Can anyone help me with a way to determine of two or more variables have the same value? For instance, $a1 = 1000 $a2 = 2000 $a3 = 2000 $a4 = 4000 $a5 = 5000 I want check these five variables and determine whether, as in this case, two or more of t

Re: [PHP] checking for duplicate values among five variables

2007-07-07 Thread Kenn Murrah
Thanks, Robert ... that was EXACTLY what I needed. kennM Robert Cummings wrote: On Fri, 2007-07-06 at 23:03 -0400, Robert Cummings wrote: On Fri, 2007-07-06 at 21:51 -0500, Kenn Murrah wrote: Can anyone help me with a way to determine of two or more variables have the same value? Fo

Re: [PHP] checking for duplicate values among five variables

2007-07-06 Thread Robert Cummings
On Fri, 2007-07-06 at 23:03 -0400, Robert Cummings wrote: > On Fri, 2007-07-06 at 21:51 -0500, Kenn Murrah wrote: > > Can anyone help me with a way to determine of two or more variables have > > the same value? For instance, > > > > $a1 = 1000 > > $a2 = 2000 > > $a3 = 2000 > > $a4 = 4000 > > $a5

Re: [PHP] checking for duplicate values among five variables

2007-07-06 Thread Robert Cummings
On Fri, 2007-07-06 at 21:51 -0500, Kenn Murrah wrote: > Can anyone help me with a way to determine of two or more variables have > the same value? For instance, > > $a1 = 1000 > $a2 = 2000 > $a3 = 2000 > $a4 = 4000 > $a5 = 5000 > > I want check these five variables and determine whether, as in

[PHP] checking for duplicate values among five variables

2007-07-06 Thread Kenn Murrah
Can anyone help me with a way to determine of two or more variables have the same value? For instance, $a1 = 1000 $a2 = 2000 $a3 = 2000 $a4 = 4000 $a5 = 5000 I want check these five variables and determine whether, as in this case, two or more of the variables have the same value. Any sugg