Sounds like your clutch isn't disengaging. I assume that when you say it wouldn't idle, you had the car in gear? Does it idle when you start it in neutral?
Lets assume it does and you only have one problem. Most obvious reason for clutch not disengaging is the slave cylinder isn't working. Crawl under the car and see if there is fluid running out of the slave cylinder or if it is wet. If so, you probably need to replace it. If it isn't wet, try pumping the clutch several times then see if you can put it into gear when running in neutral. If it works then, it could be the master cylinder causing problems.