I don't want to give it away, but I'll give two hints:
1. By invariance of domain, a continuous injection from an open subset of R into R has to be a homeomorphism onto its image.
2. Try to use the sequence formulation of continuity to reach a contradiction.