I was given Flexeril to help manage pain in order to sleep. Didn't do a thing for me. I was even taking 2 pills (10mg each) a night and remained wide awake and in pain. My new pain doc has put me on Skelaxin which works so much better. It doesn't get rid of the pain but it takes the edge off and allows me to sleep and move more.
As everyone has said, this may not be the case for you. What doesn't work for some, works for others. Don't discount it until you've given it a try. It may be your magic pill.