Sooo one day I was playing bass, and I had to go to the bathroom. So i set my bass down, went potty, came back, plugged it in, and my amp was making just a wierd noise, like when you grab the tip of a instrument cable. At first I thought my amp blew out or something, but after doing some research I figured out that on the back part of my bass, where the cords are, one was broken.

Long story short, there is a broken cord in my bass. Does anyone know how to fix this?

Thanks in advance.
Re-solder? If you don't know how to solder/don't own a soldering iron, take it into a guitar tech and have him re-solder it. If he's reasonable he won't charge more than $5 for it.
Only play what you hear. If you don’t hear anything, don’t play anything.
-Chick Corea