I saw this question: Is a polynomial $f$ zero at $(a_1,\ldots,a_n)$ iff $f$ lies in the ideal $(X_1-a_1,\ldots,X_n-a_n)$?
I was wondering if a polynomial $ f $ of a ring $ K [x_1, ..., x_n] $, where $ K $ is a field, is zero at $(a_1, ..., a_k, x_{k+1}, ..., x_n)$ then $f$ lies in the ideal $(x_1-a_1, ..., x_n-a_n)?$ I tried to adapt the answer given there, but no success. If this is not true, what can we say about the relationship between $f$ and the ideal $(x_1-a_1, ..., x_n-a_n)$?