error getting hotel details
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 'LIMIT 1' at line 11
SELECT h.url, h.address, h.name, h.class, hp.url_max300 FROM booking_hotels h LEFT JOIN `booking_hotel_photos` hp ON hp.hotel_id = h.hotel_id WHERE h.hotel_id= LIMIT 1