Hi
I have the following query which displays records based on a certain timeframe sorted by 'in' variable:
$query = "SELECT DISTINCT * FROM data WHERE out >= '$time' ORDER BY 'in' DESC";
The problem is that it duplicates entries on the 'user' variable which I would like to restrict to...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.