MyBB SQL Error?
I'm trying to do a $db->simple select query, and I get this error:

SQL Error:1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '14,13,10' at line 1

Query:SELECT uid FROM mybb_threads WHERE 1,14,13,10.

I need it to be WHERE tid's = 1,14,13,10. How would I do that?
it can be like below
SELECT uid FROM mybb_threads WHERE tid IN (1,14,13,10)

Forum Jump:

Users browsing this thread: 1 Guest(s)