Re: How to silent Error Messages
| From: | Justin French | Date: | Wed, 23 Oct 2002 10:29:04 +0000 |
| Subject: | Re: How to silent Error Messages | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-121054@lists.php.net to get a copy of this message | ||
Haven't you got fingers or a browser of your own??? I just did a really
simple search for "error" on php.net by typing http://php.net/error into my
browser. The second search result is a page on error handling.
With about 10 seconds more digging, I see this line:
error_reporting(0);
Bingo! The manual does work!!
Justin
on 23/10/02 7:28 PM, Vivek (deadghost@sify.com) wrote:
> Hey guys !
>
> Please tell me how to keep any of the error messages generated by a
> script/mysql while executing the script as the message "Fatal Error" or
> "query Failed" appeares on the output screen and that I don't want to
> do.
>
> Regards,
> Vivek