Sex before ovulation.

Has anyone had sex a couple of days before ovulation and still got pregnant?