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