[PHP] I need unique max number

2004-08-18 Thread Pieter from SA
Hi all I have data in one field in a database, all is numbers that can be duplicated. 200, 200, 100, 50, 30. i need to get all data from this field, terminate the duplicates and get the max nuber that is not a duplicate, in the numbers above that would be 100. I had a look at array_unique, but

Re: [PHP] I need unique max number

2004-08-18 Thread Ni Shurong
Hi all I have data in one field in a database, all is numbers that can be duplicated. 200, 200, 100, 50, 30. i need to get all data from this field, terminate the duplicates and get the max nuber that is not a duplicate, in the numbers above that would be 100. I had a look at

Re: [PHP] I need unique max number

2004-08-18 Thread Torsten Roehr
Ni Shurong [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hi all I have data in one field in a database, all is numbers that can be duplicated. 200, 200, 100, 50, 30. i need to get all data from this field, terminate the duplicates and get the max nuber that is not a

Re: [PHP] I need unique max number

2004-08-18 Thread Ni Shurong
Ni Shurong [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hi all I have data in one field in a database, all is numbers that can be duplicated. 200, 200, 100, 50, 30. i need to get all data from this field, terminate the duplicates and get the max nuber