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 '' at line 5
SELECT * FROM users
LEFT JOIN clients ON users.userid = clients.userId
LEFT JOIN clients_spotlight ON users.userid = clients_spotlight.userId
WHERE
usertype = '5' AND users.userid=--