Notice: 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 `hotels_pages`.`langID` = 4 AND `hotels_pages`.`status` = 1 ORDER BY `h' at line 3:
Here is your query:
SELECT `hotels_pages`.`title`, `hotels_pages`.`permalink` 
					FROM `hotels_pages` 
					WHERE `hotels_pages`.`memberID` =  AND `hotels_pages`.`langID` = 4 AND `hotels_pages`.`status` = 1
					ORDER BY `hotels_pages`.`pageID` ASC
################################## in /home/h1tc0m/public_html/objects/database.php on line 44
1