Why on earth would your doctor say that to you? He or she didn't even suggest there might be the possibility of walking?
I'm so very glad you ignored your doctor, but I wonder how many people out there didn't and never even tried to walk again after complex knee surgery.