Added mysqliConnect() and a custom error handler, so PHP errors are shown with the nice looking Bootstrap alert boxes