Post a picture so we can see the detail of what you mean, that can help us see what needs to be specifically done.
You might be able to get away with just using electrical tape to tape the wire in place, or you'll have to solder it (and then probably cover with electrical tape anyway).
Oh and for a charger get the [http://www.ifixit.com/MacBook-Parts/MacBook-Pro-85-watt-Apple-AC-Adapter/IF113-045|85 watt].