How to fix an iPhone 5 charger?

The wires in my charger snapped so the top bit is separate and now I have no way of charging my iPhone. Is there any way to fix it?

That won't be fixable, you'll need to go to apple and get a replacement cable (probably not free). Or buy a new one.

No. Those things are made to be replaced when they break. They are not repairable