내주변

현재위치

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