Some have surmised that since her name and story appear immediately following the account of a prostitute, the two are one and the same woman (see Luke 7:36-8:2). But there is no biblical support for this conclusion. (Most historians agree that the reference to Mary Magdalene as a prostitute was started in the sixth century by Pope Gregory I). Still others have conjectured that she is the anonymous woman caught in adultery. There is no evidence to support that assumption, either. Some have guessed that she might have been a prostitute simply because she came from Magdala, which was often associated with prostitution. Once again, the Bible says no such thing. Any association of Mary of Magdala with either of the above-mentioned anonymous women would have been merely a result of conjecture--or very careless scholarship--probably dating to the Middle Ages, as opposed to a smear campaign."
James L. Garlow and Peter Jones, Cracking Da Vinci’s Code, pg.59-60