내주변

현재위치

쿼리에서 에러가 났습니다.
쿼리문 select count(*) as c from snow_shop where 1 and `wr_view`=1 and is_delete=0 and (`wr_company` like \'%%uccad%ub2f4%uc2a4%uc6e8%ub514%uc2dc\\\'%\' or `wr_area` like \'%%uccad%ub2f4%uc2a4%uc6e8%ub514%uc2dc\\\'%\' or `wr_subject` like \'%%uccad%ub2f4%uc2a4%uc6e8%ub514%uc2dc\\\'%\' or replace(`wr_phone`,\'-\',\'\') like \'%%uccad%ub2f4%uc2a4%uc6e8%ub514%uc2dc\'%\') and `wr_service_good_pay`>=curdate()
에러메세지 ERROR CODE 1064 : You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near \'%\') and `wr_service_good_pay`>=curdate()\' at line 1
페이지 /home/win0108/public_html/include/category_view.php