i fixed it. i took a plastic toothpick thingy and forgeted about with it inside my charger port and got a stuff ton of lint and stuff out of it, and then i rubbed the lightning thingy itself with my thumb. i put it in my charger port and it didn't work, so i flipped the cable upside down and pushed a little harder into the phone and it worked just fine.