i have a bit of a problem, ive never used JOIN before, and this is the first time, and i got into some problems:

```
<?php
//$count to keep the counter go from 0 to new value
    $count=0;

//I need to select the level for the users building first, meanwhile i also 
//need to get the money_gain from the table buildings, which is a table that 
//is common for each member, which means it doesnt have a userid as the other table!
//And then for each of the buildings there will be a $counting 

    $qu1 = mysql_query("SELECT building_user.level,buildings.money_gain FROM building_user,buildings WHERE building_user.userid=$user");

    while($row = mysql_fetch_assoc($qu1))
    {
     $count=$count+$row['level'];
     echo $row['level'];
        }
?>

```

So basically ive heard that u should tie them together with a common column but, in this case thir isnt any.. im just lost right now?

EDIT Oh right, I need the right level to be taken out with the correct money\_gain too, in building\_user its 'buildingid'and in buildings, its just 'id'! have no idea how to make a common statement though!