내주변

현재위치

쿼리에서 에러가 났습니다.
쿼리문 select *, (6371 * acos(cos(radians(37.566826005485716)) * cos(radians(`wr_lat`)) * cos(radians(`wr_lng`) - radians(126.9786567859313)) + sin(radians(37.566826005485716)) * sin(radians(`wr_lat`)))) as map_distance from snow_shop where 1 and `wr_service_normal_pay`>=curdate() and (`wr_company` like \'%초영%\' or `wr_area` like \'%초영%\' or `wr_subject` like \'%초영%\' or replace(`wr_phone`,\'-\',\'\') like \'%초영%\') order by map_distance asc limit , 10
에러메세지 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 \' 10\' at line 1
페이지 /home/shw9993/public_html/include/category_view.php