<< Now remeber this is all star trek so how did the vedians get the phage? >>
I don't know, but maybe you're thinking of the "Think Tank"? They claimed they found a cure, and they gave Voyager their problem => they developed the phage? I expect there's a better answer.
Edit: No, it wasn't Data! Data didn't even know what...well, maybe I better save that for a question. I think it was a guy of Indian (from India) decent.