Let $f:\mathbb R\to \mathbb R$ be any function, with $G$ denoting the graph of $f$. My task is to show the following:
There exists a countable dense subset $D$ of $\mathbb R$ such that for each $t\in \mathbb R$, there exists an increasing sequence of $t_n\in D$ such that $t_n\to t$ and $f(t_n)\to f(t)$.
My idea is as follows: the graph $G$ is a subset of $\mathbb R^2$ which is separable, and hence $G$ is separable. Take $E$ to be a countable dense subset of $G$ and we are almost done. However, how can I take such sequence $t_n$ to be increasing?