Turn off all errors using PHP
If you want to turn off all the warning or errors which shows on the dynamic pages, so you can do it with the help of PHP Function.
The Function is:
You can use it, Where your coding is working well but showing the warning and other errors, So there you can use this function. By this function no one error or warning will be display.