IL PROTECTED]>
Sent: Friday, November 15, 2002 7:31 AM
Subject: [PHP] Removing duplicates in multi-dimensional array
I'm finding this one hard to approach...
I have a two-dimensional array, containing customer contact
information. Looks like:
$myarray[0][0] = "Microsoft";
$myarray
When you build your 2d array you could make a seperate 1d array that's
indexed by the fax number and if it's set, not set it in your array...
-js
René Fournier wrote:
> I'm finding this one hard to approach...
>
> I have a two-dimensional array, containing customer contact information.
> Looks
I'm finding this one hard to approach...
I have a two-dimensional array, containing customer contact
information. Looks like:
$myarray[0][0] = "Microsoft";
$myarray[0][1] = "Bill";
$myarray[0][2] = "123-1234";
$myarray[1][0] = "Apple";
$myarray[1][1] = "Steve";
$myarray[1][2] = "456-1234";
3 matches
Mail list logo