View Single Post
06-04-2012, 10:56 AM
#2
Ant is offline Ant
Status: Member
Join date: Apr 2005
Location: England
Expertise:
Software:
 
Posts: 209
iTrader: 5 / 100%
 

Ant is on a distinguished road

  Old

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

Thanked by:
Dan (06-04-2012)