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