require("include/top.php"); $query="SELECT logos.*,users.nickname,users.avatar FROM logos,users WHERE users.id=logos.who"; $result=mysql_query($query); while($tmp=mysql_fetch_array($result)) { $mylogos[]=$tmp; } ?>