내주변

현재위치

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