A Database Error Occurred

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 '?? order by tid.id asc' at line 1

select tid.*,ahm.hotel_name as hotel_name_i from tours_itinerary_dw tid LEFT JOIN tour_hotels as ahm ON tid.hotel_name = ahm.id where tid.tour_id=7 Γά order by tid.id asc

Filename: /var/www/adotrip.com/booking/models/tours_model.php

Line Number: 315