Re: My problem: "Notice: Undefined variable: i in ....."
| From: | (Michael Mauch) | Date: | Sun, 26 Oct 2003 00:20:09 +0000 |
| Subject: | Re: My problem: "Notice: Undefined variable: i in ....." | ||
| References: | 1 | Groups: | php.install |
| Request: | Send a blank email to php-install+get-12129@lists.php.net to get a copy of this message | ||
Pisek wrote:
> My problem is that when i enter my web page there is written "
> Notice: Undefined variable: i in ....."
You can define all your variables (e.g. $i="") before you use them, or
you can change the error_reporting setting in php.ini so that it doesn't
report notices:
error_reporting = E_ALL & ~E_NOTICE
Also have a look at the display_errors and log_errors settings.
Regards...
Michael