The only way the doctor would know is if you got the prescription from the same place you are getting them online and that is if the pharmasist called and told the doctor. Even then I don't think you have anything to worry about since it is two completly different meds. Online or local