My iPhone USB charger cable won't go in properly on my computer?

My iPhone USB charger cable worked perfectly when plugged into my computer (its how I got my pictures off my phone, into the computer), but now it still plugs into the computer, but it won't connect into the phone. There's nothing wrong with the cable as far as I know, it plugs in and charges perfectly when in the wall. But now it won't connect to my computer.

Some only go in one direction. Flip it over

  • Where to buy cheap 8 pin lightning to USB charger/data cable for iPhone 5? I have a store selle apple spare parts and accessories. Now people are looking for spare iphone5 cable, Where to purchase cheap iPhone5 cables? Where to buy cheap 8 pin lightning to USB charger/data cable for iPhone 5, iPad mini, iPad4?
  • My iphone won't charge with my usb cable? I have a usb cable which i always use to charge with my wall charger. Yesterday i wanted to charge my iphone 4s with it but suddenly it didn't work. No alert, no warning; nothing. Then i turned my phone off and i plug the usb cable in. And my phone turned on without i pressed the power button! I know the usb cable is working and maybe the problem is in my phone software. Anybody know how to fix this? What kind of software can fix my phone? Ps: it's jailbroken.
  • Iphone 5c won't charge on wall charger but will on usb computer port? My iphone5c gets a message when plugged in to wall charger saying "this device may not be supported" and it won't charge yet if I use my pc usb port it says nothing and charges right up every time and I can't understand why my wall charger makes it say that and won't charge it?
  • I got a new USB cable for my IPhone 4 and it won't sync with my iTunes, how do I get it to sync? I just bought a new USB cable from Micro Center, and I got it to sync with my laptop and download music to my phone using iTunes. It won't sync. How do I get it to work?