Notice: Undefined index: id in /var/www/babulinalavka/data/www/ on line 31
Не могу подключиться к БД. ->
SELECT `posts`.* FROM `posts` LEFT JOIN city_posts ON AND city_posts.city_id= WHERE != 169 ORDER BY `posts`.`date` DESC LIMIT 20
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 'WHERE != 169 ORDER BY `posts`.`date` DESC LIMIT 20' at line 1