How to set whether display error in php
By the default, whether the php will display error message is controlled by php.ini. If you are using a shared host, you cannot change it. So, you have to add this line of code on the first line of your php file:
PHP
ini_set('display_errors','on'); |
That is to display the error message , To hide all error message, just use this:
PHP
ini_set('display_errors','off'); |
Trackback address for this post
Trackback URL (right click and copy shortcut/link location)
Feedback awaiting moderation
This post has 3 feedbacks awaiting moderation...
Form is loading...