내주변

현재위치

쿼리에서 에러가 났습니다.
쿼리문 select count(*) as c from snow_shop where 1 and `wr_view`=1 and is_delete=0 and (`wr_company` like \'%\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' and \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'x\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'=\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'x%\' or `wr_area` like \'%\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' and \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'x\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'=\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'x%\' or `wr_subject` like \'%\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' and \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'x\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'=\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'x%\' or replace(`wr_phone`,\'-\',\'\') like \'%\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' and \\\\\\\\\\\\\\\\\\\\\\\\\\\\\'x\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'=\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'x%\') and `wr_service_normal_pay`>=curdate()
에러메세지 ERROR CODE 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 \'\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'x\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'=\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'x%\') and `wr_service_normal_pay`>\' at line 1
페이지 /mijungv03/www/include/category_view.php