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