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 (FIND_IN_SET ('1', countryids) or FIND_IN_SET ('0', countryids)) and (TIMES' at line 1

SELECT * from videoshopping_banner where type= and (FIND_IN_SET ('1', countryids) or FIND_IN_SET ('0', countryids)) and (TIMESTAMP(startdate) <='2024-03-19 16:28:50' OR startdate = '') and (TIMESTAMP(enddate) >='2024-03-19 16:28:50' OR enddate = '') order by set_order asc,id desc

Filename: models/G3goeslive_model.php

Line Number: 196