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