RE: [PHP] error suppresion
| From: | John W. Holmes | Date: | Sun, 29 Sep 2002 18:10:08 +0000 |
| Subject: | RE: [PHP] error suppresion | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-118098@lists.php.net to get a copy of this message | ||
> I have a form, the action is PHP_SELF. When the form is submitted it
> prints the info lower on the page. The problem, the errors for the
empty
> fields are printed until the form is submitted. What would be the best
> way of suppressing these error?
The best way to suppress your errors is to fix them. :)
Or you can work around it by using the error_reporting() function.
---John Holmes...