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 'ORDER BY a.publish_date DESC
LIMIT 1' at line 7:SELECT a.id, a.issue_id, a.occhiello_id, a.title, a.intro, a.body, a.caption, a.status, a.category_id, DAYOFMONTH(a.publish_date) AS date_dd, MONTH(a.publish_date) AS date_mm, YEAR(a.publish_date) AS date_yyyy,
o.name AS occhiello,
date_format(a.insert_date, '%Y') AS insert_year
FROM internazionale.articles a
INNER JOIN occhielli o ON a.occhiello_id = o.id
WHERE a.id =
ORDER BY a.publish_date DESC
LIMIT 1
Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /var/www/internazionale.it/www/htdocs/_class/focus_class.php on line 159
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 'ORDER BY a.publish_date DESC
LIMIT 5' at line 6:SELECT id,title FROM articles a
WHERE category_id =11
AND a.publish_date < NOW()
AND a.status = 1
AND a.id <>
ORDER BY a.publish_date DESC
LIMIT 5 Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /var/www/internazionale.it/www/htdocs/_class/focus_class.php on line 234
– Internazionale
Ogni settimana il meglio dei giornali di tutto il mondo