Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $pilotonline = mysql_query("SELECT * FROM users, winguser WHERE onlinelast > NOW() - INTERVAL 6 MINUTE JOIN wings.winguser ON wings.id = winguser.userid")or die(mysql_error());
- I'm trying to JOIN two tables.
- 1st table: `wings`
- 2nd table: `winguser`
- trying to join them on (`wings ` id) should be the same as (`winguser userid)
- and i want wings.onlineilots to be > than the time - 6 min
Add Comment
Please, Sign In to add comment