Question: what is the difference between ms and phd?
Answer: Masters degrees tend to be more career-oriented while PhD's tend to be more focused on research since they are preparing people for research-oriented careers or in academia. If all you want is a raise, a PhD is probably not the road to choose.