내주변

현재위치

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