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