RE: [PHP] PHP Errors to screen

2008-04-29 Thread Jay Blanchard
[snip]
Where do I change the setting to print PHP errors to the screen when 
running in a web browser?
[/snip]

http://us2.php.net/manual/en/function.error-reporting.php

 

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] PHP Errors to screen

2008-04-29 Thread Jim Lucas

Adam Gerson wrote:
Where do I change the setting to print PHP errors to the screen when 
running in a web browser?


Thanks,
Adam




At the top of your script put these lines

?php
error_reporting(E_ALL);
ini_set('display_errors', 1);

--
Jim Lucas

   Some men are born to greatness, some achieve greatness,
   and some have greatness thrust upon them.

Twelfth Night, Act II, Scene V
by William Shakespeare


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php