X-rays will identify if there is a structural problem like stenosis, or a bone spur. An MRI will likely identify, if any, a bulging disk or herniation.
The fact your pain is both sides, and of the nature of burning/stabbing, I lay bets that you've got some cervical spine pathology going on. X-rays unfortunately won't spot any disk bulge or herniation, but if there is a decreased space between the vertebrae, at a certain level, (C6 and/or C7 inparticular), hopefully the doctor will order an MRI or CT follow-up
I hope they can figure it out, Bt