I am getting ready to fly & want to know if the X-ray machines will mess my phone up
No, not in the USA. However, some other countries have very high-powered x-ray machines that CAN mess up your phone, they have signs up in multiple languages warning you.
I'm not sure about the phone, BUT if you have any film (you know- the rolls of stuff that we used to put inside cameras waaay back), don't let any of that got through. It'll completely ruin all your film.
No they don't mess up your phone