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 '&& users.status = 'active' && user_show_interest.save_type = 'I' && users.perman' at line 1