I am trying to populate an array from a MySQL database. I think I
have the code correct to populate the array, but I need to somehow sort the
array eliminating duplicate values. I think I can loop through the array
doing a comparison and building a new array by discarding the value if it
NIPP, SCOTT V (SBCSI) wrote:
I am trying to populate an array from a MySQL database. I think I
have the code correct to populate the array, but I need to somehow
sort the array eliminating duplicate values. I think I can loop
through the array doing a comparison and building a new
Hi everyone...
I got a bit longer now..
But i have some trouble sorting my arrays
I get this array returned.
Array ( [0] = Array ( [0] = 10 [1] = 40 [2] = 50 [3] = 80 [4] = 130 [5] = 220
[6] = 320 ) [1] = Array ( [0] = 10 [1] = 40 [2] = 50 [3] = 80 [4] = 130 [5] =
220 [6] = 320 [7]
- Original Message -
From: Martin Allan Jensen [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, November 12, 2002 1:37 PM
Subject: [PHP-DB] array sorting
Hi everyone...
I got a bit longer now..
But i have some trouble sorting my arrays
I get this array returned