Error in query, Please check it.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 f_dt_added <= and f_status=1 order by sort_order' at line 1
SELECT * FROM b_festival where f_dt_end >= AND f_dt_added <= and f_status=1 order by sort_order