Let $R_1$ and $R_2$ be two DVRs inside a field $K$.
Show that $R_1 \cap R_2$ is a semilocal PID.
I know that a DVR is a local PID. So my guess is the maximal ideals of $S = R_1 \cap R_2$ are $S \cap m_i$ where $m_i$ is the unique maximal ideal in $R_i$.
How do I finish the problem and also how to show it's a PID?