On Monday 02 April 2001 15:41, you wrote:
-Original Message-
From: Martin Skjoldebrand [mailto:[EMAIL PROTECTED]]
Sent: Saturday, March 31, 2001 10:52 PM
To: [EMAIL PROTECTED]
Subject: [PHP-DB] array_diff usage
I'm daft. I don't understand the PHP Manual.
I have two
-Original Message-
From: Martin Skjoldebrand [mailto:[EMAIL PROTECTED]]
Sent: Saturday, March 31, 2001 10:52 PM
To: [EMAIL PROTECTED]
Subject: [PHP-DB] array_diff usage
I'm daft. I don't understand the PHP Manual.
I have two arrays:
Open[0] contains 1 2 3 4 5
Closed[0]
I'm daft. I don't understand the PHP Manual.
I have two arrays:
Open[0] contains 1 2 3 4 5
Closed[0] contains 1 2
Now:
$test = array_diff($Open, $Closed);
Given the setup you've described, I think you might actually want
$test = array_diff($Open[0], $Closed[0]);
OK
-Original Message-
From: Martin [mailto:[EMAIL PROTECTED]]
Sent: Monday, April 02, 2001 10:48 AM
To: Mark Roedel; [EMAIL PROTECTED]
Subject: RE: [PHP-DB] array_diff usage
This, on the other hand, makes me suspect that the arrays themselves
don't actually contain what you