How To Connect Two Audio Sources to One Set of Speakers?

I have a set of computer speakers with a sub that I really like, however when I want to switch from using my computer as the source to my iPhone, it is a pain to climb under the desk to switch out the 3.5mm cable to plug into the opposite source. Is there any way to be able to switch between the two easily, or have both sources hooked up at the same time if I don't play audio through them at the same time? Looking for a fix under 15-20 bucks.

Added (1). The cords are 3.5mm auxiliary

Does your PC have an audio input? You could buy a cable to connect the iPhone to it and then just play the music from your iphone through your PC to your speakers.

Blue tooth fool

You can get a splitter that allows you to do it. It has one male end and slpits off into two female ends. Amy electronic store should sell it. I would guess around $20 or less