I have toenail fungus, my regular doctor told me it was in my foot too, can you lose your foot over a fungus? I'm on pills to get rid of the fungus.

Very unlikely. Toe nail and/or foot fungus would not cause to lose a foot unless there were other complicating factors such as severe vascular insufficiency.
Wish you good health! - Have a diet rich in fresh vegetables, fruits, whole grains, milk and milk products, nuts, beans, legumes, lentils and small amounts of lean meats. Avoid saturated fats. Drink enough water daily, so that your urine is mostly colorless. Exercise at least 150 minutes/week and increase the intensity of exercise gradually. Do not use tobacco, alcohol, weed or street drugs in any form.
Practice safe sex, if you have sex.