An issue which is encountered by not just iPhone customers but the users of smartphones from other manufacturers is the malfunctioning charging ports. You might witness people try plugging in the charging cord in numerous ways and still not being able to get their phone charged. It occurs as a result of a malfunctioning charging port.
In most cases, this is the situation with older iPhone models. It’s possible that it’s caused by negligent charging of your iPhone using the charger and charging wire. Because charging port repair is inexpensive, you should visit a professional or Apple directly if you are having problems charging your phone.