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