PHP code to send mail

Strange bug with nav bar
Bug: sections's margins gone mad when the page is refreshed after
sending mail