i whole heartedly agree with b, sounds like a battery problem. might just need to clean the terminals and leads.
mine was doing that the other day and the terminals were just a LITTLE (really) dirty. cleaned em off (after replacing the alternator didnt work) and voila, working car again.