query("SELECT tr.GroupID, tr.UserID, u.Username, tg.Name, tg.ArtistID, ag.Name FROM torrents_recommended AS tr JOIN torrents_group AS tg ON tg.ID=tr.GroupID LEFT JOIN artists_group AS ag ON ag.ArtistID=tg.ArtistID LEFT JOIN users_main AS u ON u.ID=tr.UserID ORDER BY tr.Time DESC LIMIT 10 "); ?>