Error Number: 1064
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 business_spa_offers.b_spa_id= and ("2024/03/28" between b_s_offer_s_dat...' at line 1
SELECT business_spa_details. * , business_spa_offers. * FROM business_spa_offers LEFT JOIN business_spa_details ON business_spa_details.b_spa_id = business_spa_offers.b_spa_id where business_spa_offers.b_s_offer_status= 1 and business_spa_offers.business_spa_user_id= and business_spa_offers.b_spa_id= and ("2024/03/28" between b_s_offer_s_date and b_s_offer_e_date) ORDER BY `business_spa_offers`.`b_s_offer_featured` DESC
Filename: models/Search_model.php
Line Number: 489