the problem could be in charger or battery,if the problem is in charger,try to charge it wit your laptop or else try to charge your iphone battery with a battery charger,if it doest work try a different battery
Try resetting it, Mine has only done this once and it was fixed by restarting it (hold the power button and home button until it turns off, then press the power button to turn it on)
Add the things you own to your My Products collection and get product information, solutions to problems, manuals & guides, tips and how-to's, reviews & ratings and local repair service - all in one easy place.