mySQL WARNING!DB Error: mySQL Error on Query : SELECT a.*, c.id as cid, c.name_en as catname, a.title_en as atitle, c.slug as catslug, u.username, CONCAT(u.fname,' ',u.lname) as fullname,
(SELECT COUNT(artid) FROM mod_news_comments WHERE artid = a.id) as totalcomments, YEAR(a.created) as year, MONTH(a.created) as month, DATE_FORMAT(a.created, '%d') as day
FROM mod_news as a
LEFT JOIN mod_news_categories as c ON c.id = a.cid
LEFT JOIN users as u ON u.id = a.uid
WHERE a.created <= NOW()
AND (a.expire = '0000-00-00 00:00:00' OR a.expire >= NOW())
AND a.active = 1
AND !(a.id = )
ORDER BY a.created DESC LIMIT 4
More Information:
- Mysql Error : 1064
- Mysql Error no # : You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near ')
ORDER BY a.created DESC LIMIT 4' at line 9
- Date : April 26, 2024, 6:41 am
- Referer: 1
- Script: /en/news/skin-allergy/