Requesting SELECT YEAR(FROM_UNIXTIME(pub_date)) AS year FROM news WHERE status = 1 AND id_news_category= GROUP BY YEAR(FROM_UNIXTIME(pub_date)), result: 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 'GROUP BY YEAR(FROM_UNIXTIME(pub_date))' at line 1
[Warning] mysql_fetch_assoc() expects parameter 1 to be resource, boolean given Trace: include/core/dbmysql.class.php:232 include/modules/news/news.object.php:506 include/core/controller.class.php:470 include/core/controller.class.php:547 include/core/controller.class.php:687 include/core/controller.class.php:79 index.php:7
Экспресс-новости — Новости — Бизон