Hi welcome to Health care magic forum
Thanks for choosing H.C.M.F.
Your neck and
back pain appears to be the
cervical spondylosis, even radiating to left
rib cage. May be gastric pain or pancriatic pain radiating to the neck.
I advise you to consult an orthopedic surgeon for diagnosis and treatment, you may have to take M.R.I. neck and upper abdomen besides other routine tests for confermation.
You will be fine with minimal invasive treatments, so dont worry.
Best regards.