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