0
Show php error nicely in website.
Suppose the username does not exits. So it will throw an error at the time of login. How can I show it nicely in the login page?
1 Antwort
0
You could expect the error and store the exception as a variable. Then you could decide a proper response text for the specific type of error and print the error response according to the error in the webpage