is 'forum topics' one table? with a space in the name?
Anyway...
You might be able to do:
PHP Code:
SELECT *
FROM 'forum topics', 'users'
WHERE 'forum topics.slug' = '{$slug}'
AND 'users.id' = 'forum topics.author'
LIMIT 1
Not 100% sure, I'm not that great with SQL