avíð Örn Jóhannsson" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, October 04, 2002 12:51 PM
Subject: [PHP] Error disabling
I need to be able to disable error reporting on one page with php, I
just don't remember how to do this, if I remember correctly I could call
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
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 I could call
some function in the begining of a php doc and tell it not to disply any
errors that occur while parsing the doc.
4 matches
Mail list logo