Hello,
I'm trying to get mysql_num_rows from 4 tables where user id is being selected as session .
My question is very simple :
Is this sql is correct :
""SELECT * FROM users_tbl,events_tbl,players_tbl,sales_tbl,teachers_tbl WHERE events_tbl.user_id & players_tbl.user_id & sales_tbl.user_id & teachers_tbl.user_id = '$whois_id'";
?
user_id - The user id
$whois_id - check who is currently logged in (session) .
Please help ...