RE: [PHP] Limiting an array to unique values

2004-04-06 Thread Alex Hogan
I guess I deserved that one... alex hogan > -Original Message- > From: John W. Holmes [mailto:[EMAIL PROTECTED] > Sent: Tuesday, April 06, 2004 9:40 AM > To: Alex Hogan; PHP General list > Subject: Re: [PHP] Limiting an array to unique values > > From: "Ale

Re: [PHP] Limiting an array to unique values

2004-04-06 Thread John W. Holmes
From: "Alex Hogan" <[EMAIL PROTECTED]> > I have an array that I am using as a parameter for a query in a where > clause. > > The array has values that are like this. > > Item 1 > Item 2 > Item 3 > Item 1 > Item 3 > Item 3 > Item 1 > > What I need to have is unique values only. > > Item 1 > Item

RE: [PHP] Limiting an array to unique values

2004-04-06 Thread Alex Hogan
Thanks... Exactly what I needed. alex hogan > -Original Message- > From: joel boonstra [mailto:[EMAIL PROTECTED] > Sent: Tuesday, April 06, 2004 9:30 AM > To: PHP General list > Subject: Re: [PHP] Limiting an array to unique values > > On Tue, Apr 06, 2004 at 0

Re: [PHP] Limiting an array to unique values

2004-04-06 Thread joel boonstra
On Tue, Apr 06, 2004 at 09:27:31AM -0500, Alex Hogan wrote: > Hi All, > > I have an array that I am using as a parameter for a query in a where > clause. > > The array has values that are like this. > > Item 1 > Item 2 > Item 3 > Item 1 > Item 3 > Item 3 > Item 1 > > What I need to have is uniq