Is danger to use mysqli connect without die() when connect error and if so why?
Asked
Active
Viewed 36 times
0
-
2Danger of what; and using `die()` is never a good idea if it can be avoided (and it always can be avoided); you should provide a clean response to the front-end – Mark Baker Mar 28 '17 at 16:57
-
`die()` will show the blank screen, instead of this, redirect visitors to Maintenance page.. and show any notification message. – devpro Mar 28 '17 at 17:00