2g iPhone won't charge, no warranty - can I exchange?

I've had this iPhone since it came out and did not buy an extended warranty. It has stopped charging all of a sudden and it isn't the charger because I've tested it using a friend's, my own, and the car charger. My friend told me he took his to the AT&T store a few days ago because he was having the exact same problem and he had a 2G also. I am unsure as to if he had a warranty or not, but he told me that AT&T was shipping him a new iPhone to replace the broken one.

I do not have a warranty. Will AT&T (or should I go to the Apple store?) exchange my iPhone for a new one or will there be a fee? Or will they exchange it at all? It's the only phone I have and I'd have to say I'm very fond of it. If they do exchange it, will it be a 3G?

Thanks.

EDIT:
I'm sorry, I think I posted this in the wrong section. My bad for not reading the stickies!

I've had this iPhone since it came out and did not buy an extended warranty. It has stopped charging all of a sudden and it isn't the charger because I've tested it using a friend's, my own, and the car charger. My friend told me he took his to the AT&T store a few days ago because he was having the exact same problem and he had a 2G also. I am unsure as to if he had a warranty or not, but he told me that AT&T was shipping him a new iPhone to replace the broken one.

I do not have a warranty. Will AT&T (or should I go to the Apple store?) exchange my iPhone for a new one or will there be a fee? Or will they exchange it at all? It's the only phone I have and I'd have to say I'm very fond of it. If they do exchange it, will it be a 3G?

Thanks.

EDIT:
I'm sorry, I think I posted this in the wrong section. My bad for not reading the stickies!

Click to expand...

First your friend gave you bad information. AT&T does not service or provide warranty service for the original iPhone or the iPhone 3G. Apple is your proper choice. Apple will replace the battery for $89 but you have to ship it to them for the replacement. Apple will also allow you to do an Out of Warranty Service for $199 to get a refurbished original iPhone in exchange for your current iPhone.

MacRumors attracts a broad audience
of both consumers and professionals interested in
the latest technologies and products. We also boast an active community focused on
purchasing decisions and technical aspects of the iPhone, iPod, iPad, and Mac platforms.