Unknown column 'upload' in 'where clause': SELECT * FROM reservas WHERE propiedad_fk = upload and session_id = "44mjhg3epgccs73sl52tc3a7e0"