Function to compare an array with another array

From: Date: Mon, 05 Mar 2001 06:37:55 +0000
Subject: Function to compare an array with another array
Groups: php.general 
Request: Send a blank email to php-general+get-42581@lists.php.net to get a copy of this message
Shu! I need some help here. I have a script where I want to compare two arrays with eachother, and return one value from that does not exists in both arrays. I have an array of pictures id number created from a database query. I use sessions to save id numbers of pictures into an array. I want the first array to be compared to the second and return the first key/value-pair that are not found in the session array... Is there a way I can do this? Thankful for any help! /Broder B

« previous php.general (#42581) next »