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 > 'РАЗ'ЕЗД 303 КМ' 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 < 'РАЗ'ЕЗД 303 КМ' 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 'ЕЗД 303 КМ' ORDER BY city.name ASC LIMIT 20 ) UNION ( SELEC' at line 12" thr in /bhome/part3/03/vh34578/aviazd.com/www/airroute/lib/godb.php on line 115