After i synced music onto my phone, and put the SD card back into it, it said 'Damaged SD card. You may have to reformat it.' How do i fix that without deleting all my music/photos?
Yeah you'll want to move it all to your computer first for sure (always better to have it backed up there regardless). I never used that model myself specifically so I don't know if it will just let you move things off the SD card or if you need to enable anything in settings (some Androids require you to do so). Do you get any messages when you plug it into your computer?
you should check these guys out if the issue persists http://www.recoverfab.com/index.php they specialize in restoring sd cards and such. It seems like a lot of people have been satisfied with their services and even my brother has tried it and got good results! Hopefully you get everything sorted out :)