Re: Newbie Question: Array Comparison ---

From: Date: Thu, 20 Sep 2001 07:05:36 +0000
Subject: Re: Newbie Question: Array Comparison ---
References: 1 2 3 4  Groups: php.general 
Request: Send a blank email to php-general+get-67949@lists.php.net to get a copy of this message
"David Robley" <huntsman@www.nisu.flinders.edu.au> wrote: > in_array might be one tool - loop through $Foo and print $Foo[n] if it's > not in the array $donotprint [cut] > And doubtless there are other, better ways. Offers, anyone? Look at array_diff http://download.php.net/manual/en/function.array-diff.php

« previous php.general (#67949) next »