I used a query like
select a.email,b.vuid
from user a
,inner join group b on a.uid = b.uid
where a.email='[email protected]' and a.kid=1 and b.vid=29
limit 1
but I always get this error.
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 'inner join group b on a.uid = b.uid where a.email='[email protected]' at line 1
I think its because the inner join but I don't know really.. Could someone help me?