Quantcast
Channel: PHP Freaks: PHP Help
Viewing all articles
Browse latest Browse all 13200

Need help enabiling html_errors

$
0
0

Hey,

 

 I have set html_errors  to "On" my php.ini settings. But  when I create 3 custom error messages, they don't render as HTML. Just plain text.

 

Any suggestions on how i can solve this?

 

Below is my code and how it out puts on the browser.

 

Any help would be really appreciated!

   <?php trigger_error('Custom Notice', E_USER_NOTICE);
      trigger_error('Custom Warning', E_USER_WARNING);
      trigger_error('Custom error', E_USER_ERROR); 

?>

Attached Thumbnails

  • Screen Shot 2013-08-08 at 8.13.08 PM.png
  • Screen Shot 2013-08-08 at 8.16.33 PM.png

Viewing all articles
Browse latest Browse all 13200

Trending Articles