Thanks for using the forum. I am happy to address your questions, and my answer will be based on the information you provided here. Please make sure you recognize that this forum is for educational purposes only, and it does not substitute for a formal office visit with your doctor.
Without the ability to examine you and obtain a history, I can not tell you what the exact cause of your symptoms is. However I will try to provide you with some useful information.
The foot top and outside (lateral aspect) of the foot are innervated by the superficial peroneal, sural, and tibial nerves. A problem with the nerves in this area would typically cause local symptoms, rather than spreading up the leg to the hip. A herniated disc at L5/S1, on the other hand, can cause pain higher up in the leg, but if the herniation is mild, this would be unlikely to be cause severe symptoms; the extent of impingement on the nerve can be determined on MRI. One possibility, if there is limb pain following trauma and/or surgery is called complex regional pain syndrome, CRPS, previously known as reflex sympathetic dystrophy. This causes pain, burning, color, and skin changes.
It is important to keep in mind that arthritic cause of hip pain and leg pain should always be considered, though burning pains are not a typical symptom of arthritis.
The treatment in general for neuropathic pain includes physical therapy and medications such as gabapentin (neurontin) and pregabalin (lyrica) as well as other medications used for other indications (such as epilepsy and depression) that also work for pain. Anti-inflammatories are used as well. If the pain symptoms persist, and a cause can not be found after appropriate workup (which may include another EMG), referral to a pain management specialist for further management of the pain is indicated.
Thank you for this opportunity to answer your questions, I hope you find the information I have provided useful, good luck.