How to make mysql query to check multiple tables at once? I mean, something like:
$sql = mysql_query("SELECT username FROM table1, table2, table3 WHERE username = '$username'"); $numer = mysql_num_rows($sql); echo "You have ".$number;
Can you do that?
What I want to do is to show the user all his messages from the entire site.
Karem source share