My iphone won't charge what do I do?

First of all I already restarted, tree a different outlet, different cord, different block, and none of that worked. It was charging 45 minutes ago, but now it won't, I've turned on/off about ten times already. And nothing, what do I do?

Have $200+ on you and buy another iphone. It's worth it

I had this, it was the connectivity with the phone take it to the apple store and they'll probably replace it they might charge a little bit but not full price (if you've got no warranty)

Take it to the apple shop, if it is still on warranty they might replace it or repair it for free.