Unknown column 'registro.php' in 'where clause' Error en buscarLibre. Consulta: select * from m_inmuebles where terminado=1 and estadoOp='Activo' and visible_web=1 AND (registro.php = 1) AND tipo IN (17) AND provincia IN (1) AND poblacion IN ('2') order by escaparate desc, registro.php desc, tipo asc, fecha desc, id