SQLSTATE[42000]: Syntax error or access violation: 1064 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 type != 0' at line 1select PASSWORD(confirm_code) from conflict_comment where isp_info_id= and type != 0