I have this mysql code witch is working very well
SELECT uid , MAX(value) AS bidvalue FROM auction
WHERE pid = '$pid' and max_bid=0
GROUP BY uid
ORDER BY bidvalue DESC
LIMIT 1
How can I join this selection with users table ON users.id=auction.uid?
Thank you