Question marked as
Best reply
emilie223,
Check the charging port for lint or other debris. Also see this:
If your iPhone, iPad, or iPod touch won‘t charge
If iTunes doesn‘t recognize your iPhone, iPad, or iPod
Good luck.