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