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 's' OR userinfo.nickname='Mike's' OR userinfo.realname='Mike's' OR userinfo.usr='' at line 1