Hello,
This is my problem
I have 2 tables
USERS:userid,name,city,pass
STATISTICS:setid,userid,totalscore,score
i do this SELECT>>>>
$statistics = mysql_query("SELECT * FROM statistics WHERE setid='".$no."' ORDER BY score DESC, totalscore $limit" );
the problem is that i want to SELECT the same as above
but limited to users which userid correspond to a city
but city exists only in table USERS,so the only way to do this is
by getting users city by useid BUT HOW??