IPhone 4s won't charge with USB or plug in?

I recently got an iphone 4s, i got it 4 months ago and at first it would charge with no problem at all. Then about a week ago i would have to wiggle my charger into my phone for it to work and it would after about 15 mins of trying to wiggle it. But now it won't charge at all using a USB cord or a wall plug in charger.

But one day i used my friends iPhone/ipod car charger and it worked perfectly fine! No wiggling or trying to make it work! It just charged! I just don't know what is going on with my iPhone! You would think a phone that is worth 500$ wouldn't have these difficulties. So please any suggestions to what i should do please answer.

P.S my friend said " maybe your iphone 4s needs a higher amp charger for it to charge."
i don't really know what to do about that

Gee, I don't know! It sounds like the cable/cord!

Replace it! Take it I under warranty!

Your wall outlet is not going to be able to put out more power your friend might be talking about a higher watt charger but i do not think apple sells any different wattage versions of the iphone charger.

My guess is that either your charger cord or your phone's cord port have lint in them… If so try just blowing on both ends of the cord and into phone port and see if that helps.

I had some issues with the charger cord for my phone and it turned out (in my case) that the charger cord had some issues with its insulation and was shorting out. If your cord has a bunch in the rubber casing that might be your issue.

Hope this helps