Tipo : WARNING - (2) Archivo : /home/content/f/o/r/foresttravel/html/ultimatejetvacations/beta/hotel.php (Linea: ) Text : mysqli_fetch_assoc() expects parameter 1 to be mysqli_result, boolean given Mas info : PHP 5.2.8 (Linux)
Tipo : Error Fatal - (256) Archivo : /home/content/f/o/r/foresttravel/html/ultimatejetvacations/beta/libs/function_public.php (Linea: 1151) Text : [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
hp.status = 1
ORDER BY order_ ASC
LIMIT 3' at line 14 SELECT hp.*,
h.*,
d.id_destinations,
h.id_hotel,
h.name_ as name_hotel,
h.url_key as url_hotel,
d.url_key as url_destinations
FROM hotel h,
hotel_photo hp,
destinations d
WHERE hp.id_hotel = h.id_hotel AND
d.id_destinations = h.id_destinations AND
hp.table_ = 'Header' AND
h.id_hotel = AND
hp.status = 1
ORDER BY order_ ASC
LIMIT 3