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