A Database Error Occurred

Error Number: 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 'and items.statusItems=1 and dateCreateItems < '1711654325' ORDER BY `pageview` D' at line 3

SELECT * FROM (`items`) WHERE `IdCatItems` = and items.statusItems=1 and dateCreateItems < '1711654325' ORDER BY `pageview` DESC LIMIT 10

Filename: /home/benhviennhi.org.vn/models/m_items.php

Line Number: 38