Fatal error: Uncaught DB Error. Query=" ( SELECT city.name as city_name, city.namefull as city_name_full, city.code as city_code, city.name_eng as city_url, min_price as min_price FROM rail_codes as city INNER JOIN `rail_build` as build ON build.code = city.code WHERE city.namefull > 'РАЗ'ЕЗД N463' ORDER BY city.name ASC LIMIT 20 ) UNION ( SELECT city.name as city_name, city.namefull as city_name_full, city.code as city_code, city.name_eng as city_url, min_price as min_price FROM rail_codes as city INNER JOIN `rail_build` as build ON build.code = city.code WHERE city.namefull < 'РАЗ'ЕЗД N463' ORDER BY city.name ASC LIMIT 20 ) " error = 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 'ЕЗД N463' ORDER BY city.name ASC LIMIT 20 ) UNION ( SELECT city' at line 12" thrown in /home/c/cy94612/aviazd.com/public_html/airroute/lib/godb.php on line 115