gspot, this is basically the same query as in my forumhome stats hack. If you don't use the table AS table on all tables in a query that access more than one table, you will never get it working for this guy right. This:
[SQL]LEFT JOIN user ON (users.referrerid = user.userid)[/SQL]
HAS to be this:
[SQL]LEFT JOIN user AS user ON (users.referrerid = user.userid)[/SQL]
|