>
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 'limit=5' at line 7 select d.destination_code, h.* from hotels h inner join destination_hotels dh using (hotel_id) inner join destinations d using (destination_id) where 1 and d.destination_id = 601715 order by h.stars DESC, hotel_name limit limit=5
#0 dump_trace() called at [/usr/sites/common/mysql_class.inc:376] #1 db->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 'limit=5' at line 7 select d.destination_code, h.* from hotels h inner join destination_hotels dh using (hotel_id) inner join destinations d using (destination_id) where 1 and d.destination_id = 601715 order by h.stars DESC, hotel_name limit limit=5) called at [/usr/sites/common/mysql_class.inc:1183] #2 query->error() called at [/usr/sites/common/mysql_class.inc:934] #3 query->execute() called at [/usr/sites/common/mysql_class.inc:956] #4 query->rows() called at [/usr/sites/common/services/exp.class.inc:338] #5 exp_class->show_properties() called at [/usr/sites/common/services/exp.class.inc:268] #6 exp_class->destination() called at [/usr/sites/common/hybrid_index.php:221]