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 2
> Item 3
> 
> How can I sort out the redundant values in that array?

array_unique(). Imagine that. :)

---John Holmes...

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to