Thanks for the help everyone..
I tried the GROUP_BY approach but that wouldn't work, so I went with 2 queries:
$query = mysql_query("
SELECT DISTINCT (FIELD_😎 from TABLE
");
while ($column = mysql_fetch_array($query)) {
$newest=$column["0"];
}
$query2 = mysql_query("
SELECT DISTINCT FIELD_A, FIELD_B from
TABLE where
FIELD_B = '$newest'
");
I may have been able to do the fetch_array bit in a different way, but this works just fine and allowed me to get the
FIELD_A/FIELD_B pair that had the MAX value
of FIELD_B.
Thanks again,
Ben