How to get my iPhone 5 to charge?

I have been plugging my iPhone Lightning Cable into my laptop as I had misplaced the plug for the socket, and my iPhone had been charging fine, Then, all of a sudden it kept charging and disconnecting by itself. This went on for a 1-2 weeks until just now, the phone wouldn't charge at all. It has just turned off now and I have tried plugging it into the TV but it will not charge that way either. It is really frustrating me. Does anyone have any advice to give me to get my phone charging again? Or, if I have to get a new charger, how much would it cost?

Ok.
1) simply use the wire n connect( in dock or simple charger)
2) turn off your iPhone
3) if there's no charge at all--->.it might turn on in increase of 1%. Then let it be on n u muz switch off until 4%
4) nw let the phone off permanently until it charges to 100%

Tats the way to solve. If its still not charging. Then the wire muz be the problem