Error in query: 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 ',regdate as date,activityRank,postCount from grail_users where id in (5148)' at line 1 select id, name, email, contactdetails, cellid, signature,rank,regdate as date,activityRank,postCount from grail_users where id in (5148)