Unknown column 'hotels' in 'where clause': SELECT * FROM propiedades WHERE id = hotels ORDER BY alta DESC