Ok this is my question, i have 2 tables… one named ratings and the orher one named users…
I am trying to display pictures with high ratings… but i just want to display them if the user is verified, the problem is that the verified option is in table users, and the ratings are in table ratings… how can i make this happen???
This is what i came up with but obviously doesnt work, i need somehow specify that “verified” is from USERS and then i dont know if i need to specify that the ORDER BY DESC is from ratings? :-X :-\ 8) :o ???
[php]$getitem1 = mysql_query(“SELECT * FROM ratings WHERE verified=‘yes’ ORDER BY total_value DESC LIMIT 0,1”)[/php]