Hi there,
i use this line in my code.
#error_reporting(E_ALL); // set to --> (E_ERROR) (E_WARNING) (E_PARSE)
(E_NOTICE) (E_CORE_ERROR) (E_CORE_WARNING) (E_ALL)
check out the docs:
http://www.php.net/manual/en/function.error-reporting.php
holger
- Original Message -
From: "Davíð Örn Jó
Error Reporting : php.net/error_reporting
looks like this:
error_reporting(0); // for outputting nothing
error_reporting(55); // PHP4's default
error_reporting(E_ALL | E_NOTICE); // for anything PHP can complain of
Maxim Maletsky
[EMAIL PROTECTED]
www.PHPBeginner.com // where PHP Begins
A quickie woudl be put an @before every function that would report an error
like mysql_query etc
John
On Friday 04 Oct 2002 11:51 am, Davíð Örn Jóhannsson wrote:
> I need to be able to disable error reporting on one page with php, I
> just dont remember how to do this, if I remember correctly
3 matches
Mail list logo