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