Then what you need is an elevator! Problem solved. Well, not quite. That weak feeling is the muscle-organ link between certain areas of your digestive tract and your quadriceps muscles (thighs), hence the weak feeling in the legs and/or knees, or even the knee pain you may get especially while squatting or sitting down.
Typically:
Weak legs or painful knees going UP stairs = a glute max problem (your behind)
Weak legs or painful knees going DOWN stairs = a quadriceps problem (your thighs)
