Why does my iphone 5 charger cord only work at random times?

I bought a $30 10 ft cord from target like 2 weeks ago (i didn't think it would be as bad since it was expensive) and now it has a really weird problem. Sometimes when i plug it into my phone it would work and sometimes it doesn't (it mostly doesn't). I have no idea what the problem is. It isn't the same problem as when i have to bend the cord, its just taking out/putting in the cord.

The wires could be broken, you should return it for a refund or an exchange

  • Will this charger cord affect my iPhone? I have an iPhone 5 and I bought a charger cord from Rue 21 because it was cheap. When I plug it in, it gives me a warning that it may not be recognized by the device. Does that mean anything, will it harm my phone at all? I just got a new iPhone because my other one randomly broke, but it wasn't from the cord because I stopped using it a couple months before.
  • Why won't my iphone usb cord work? I have a charger for my iphone, the part that plugs into the wall is separate from the usb cord the cord isn't charging my phone, i know its the cord bc i've tried my friends, but i obviously can't keep them my phone charges in the doc so what do you think i did to my usb cord to make it not work, it just stopped working one day like i don't understand
  • Why does my iphone charger only work in certain positions? My iPhone 5 charger only works when it's in a certain position, and sometimes it doesn't even work in that position. Why?
  • Why does my iPhone charger only work in certain outlets? My charger for my iPhone 4S only works in certain outlets. It used to work in all in fact this morning it worked and then I went to go charge it a few hours later in the same outlet and it didn't work.