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