Error in query: SELECT id, title, intro, price, value, imgType1 FROM deals WHERE publish = 1 AND (dealOwnerID = 1 OR dealOwnerID = ) AND id <> '105' ORDER BY dealOwnerID DESC, id DESC.
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 ') AND id <> '105' ORDER BY dealOwnerID DESC, id DESC' at line 1