How to fix iPhone 5 charger?

The part where you connect the charger to the phone idek what its called. It appears somebody stepped on it and bent it or something like that, and now my phone won't charge. Help!

Added (1). The part of the cable where you insert it to the iPhone 5s charging port, yeah it seems it got bent and now my phone doesn't want to charge help!

Charging port

If it is the cable you can buy a new phone to usb cable for under $10 at Best Buy or amazon and sometimes even find the cable in dollar stores.
if someone else in the house has a recent iphone borrow their cable to see that that is the only problem.