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