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