Welcome to the Android Forums!
You are saying the phone won't work at all if not plugged in? If you unplug the charger when it's on, does it stay on or does it shut off as if you've taken out the battery?
It could be the battery died on you. You might try taking into an AT&T store to see if they'll let you try a batter, just to see if that is the problem.