Re: Warning messages
| From: | Faisal Nasim | Date: | Thu, 09 Mar 2000 12:21:13 +0000 |
| Subject: | Re: Warning messages | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-16569@lists.php.net to get a copy of this message | ||
> Hi
> I want that messages (warning, error..) from Oracle are hidden in my
> PHP3 pages.
> I use the command "die" to display message box but the warning stay in
> the HTML page.
> Please help
Check out error_reporting() or try this:
<?
print strlen ( "cool" , 1 ); // warning! (and no output)
print @strlen ( "cool" , 1 ); // no warning, but no output either!
?>
Enjoy!