No computer will recogonize my iphone. What do I do?

I have an Iphone 4. I have tried with different computers and different cords. When i plug my iphone into the computer it begins to charge but won't be recognized by the computer or the computer has a USB error. I have tried multiple times to fix this but nothing is working. Could it be a problem with my phone?

If you're sure it's not the computer, take it into the store and ask about it. Even if you don't have Apple Care, those guys will usually spare a few minutes to talk to you. It could be something as simple as dust caught in the port to the point that it's blocking a few pins. Use a thin paper clip to fish out all the debris.