Re: PHP Arrays
| From: | Jason | Date: | Sat, 25 Nov 2000 20:43:49 +0000 |
| Subject: | Re: PHP Arrays | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-27177@lists.php.net to get a copy of this message | ||
On Sat, Nov 25, 2000 at 02:13:15PM -0500, Kyle Mathews wrote:
> Is there a way to compare values in a PHP array? I trying to check for
> duplicate values in an array.
check out in_array(), array_unique(), and array_diff(). They should help
you out.