MySQL Error
Message: MySQL Query Error
SQL: SELECT s.*,sf.sex,sf.birthyear,sf.spacenote,sf.resideprovince,sf.residecity,sf.field_7 FROM uchome_space as s, uchome_spacefield as sf WHERE sf.uid=s.uid and and s.avatar=1 and sf.sex=2 order by s.uid desc limit 20
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 'and s.avatar=1 and sf.sex=2 order by s.uid desc limit 20' at line 1
Errno.: 1064
Click here to seek help.