PHP Bootstrap Alert Helper Function