Unknown column 'img' in 'where clause': SELECT * FROM reservas WHERE propiedad_fk = img and session_id = "r6tqre0erv2vt7d2cf6m77b736"