"car will only run with cables attached" what cables? battery cables, jumper cables...? is the battery dead? whats the alternator putting out for a voltage?
If your talking about the car only running when its being jumped then its likely that the alternator is not functioning correctly. there are numerous threads about alternator issues. Use the search function.
What you can do is replace the battery, its dead, replace it now (if its only a couple years old, try charging it). Then try to start the car, connect a multi meter to the battery and see what the voltage is, should be around 13.5-15 volts. 12 volts means its not charging and there is a issue with the alternator.