This is a simple question, but I'm having trouble figuring out a solution.

Let's say I have 2 arrays:

$DoNotPrint=array("a","b","c");
$Foo=array("c","d","e"):

What is the best way to print every value in $Foo that does NOT match a
value in $DoNotPrint? For instance, in this example, "c" should not be
print.



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to