My iphone battery not charging?

Yesterday my iphone 5 was switch off due to low battery at night next morning i tried to charge my iphone bt its not charging and still switch off and still on charging but not charging and i also check my cable its working bt not iphone.

If it was dead, then plug it on, and wait 5 min.after, click on the home button and there will be an apple sign. Just wait and it will turn on.

Leave it on the charger for a few minutes and it will turn back on

Had the same problem with my iPhone 4s. This is NOT something you can fix unless you have spare parts lying around. You need to take it too an apple store. There should be one at your nearest Mall. Since its the iPhone 5 I'm sure its still under warranty so they will get you setup with a new one as long as you haven't triggered the water detectors. Then you take it to the store of your carrier (verizon, at&t, … Ect) and they will get you setup on the new device all for free