so i have this problem where i need to select from 2 different tables in the same MySQL query,
here's the query:
SELECT * FROM minigame_players WHERE lobby='$game_id'
this works perfectly, but i would like it to also select permissions from the table users where username = the returned value from the query below. As an example, let's say that the query below returns the value John, then i would like to (in the same query) select permissions from users where username = John - i have tried looking it up from multiple websites but i can't find a good solution.