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