Fatal error: Uncaught exception 'Exception' with message 'Error: 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 'ORDER BY IF (scruise.promotion_price>0 and scruise.promotion_price <= scruise.pr' at line 1<br>
Query: SELECT scruise.*,IF (scruise.promotion_price>0 and scruise.promotion_price <= scruise.price,scruise.promotion_price,scruise.price) AS price, scruise_destination.scruise_destination_name FROM scruise LEFT JOIN scruise_destination USING (scruise_destination_id) WHERE scruise.production='y' and scruise.sdestination_id= ORDER BY IF (scruise.promotion_price>0 and scruise.promotion_price <= scruise.price,scruise.promotion_price,scruise.price) ASC <br>
' in /www/kruizi.alexandertour.bg/www/root/classes/Database.class.php:98
Stack trace:
#0 /www/kruizi.alexandertour.bg/www/root/classes/Database.class.php(59): Database->Error_Message(2)
#1 /www/kruizi.alexandertour.bg/www/root/_sea_cruises.php(216): Database->Query('SELECT scruise... in
/www/kruizi.alexandertour.bg/www/root/classes/Database.class.php on line
98