Table 01: $file
Table 02: $users
I want to do so, when a user for level ID = 30 displays a msg
EXAMPLE, FILE 01 ( $file->userid = 20
that is, this user id is in table 02, $users->id
)
TABLE$USERS
Imean..Itwouldlooklikethis:
$file->userId$users->id->levelId
??
if (QUANDO ESSE ARQUIVO FOR DE UM USER LEVEL 30) {
echo "teste";
}