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 `date_to` >= AND `ru_unit_id` = '1179279' ORDER BY `date_from` asc LIMIT 1' at line 4
SELECT `nights` FROM (`ru_min_stays`) WHERE `date_from` <= AND `date_to` >= AND `ru_unit_id` = '1179279' ORDER BY `date_from` asc LIMIT 1
Filename: /home/rentprivatevilla/public_html/models/ru_model.php
Line Number: 453
Please go back to the home page