View previous topic :: View next topic |
Author |
Message |
minto -
Joined: 30 Jul 2003 Posts: 1
|
Posted: Sat Sep 27, 2003 3:05 pm Post subject: Probably something simple |
|
|
A chatbox on my server gives me this notice:
Quote: | Notice: Undefined variable |
Is there any way to stop php telling me about this, as it does not affect the script at all.
Cheers. |
|
Back to top |
|
 |
flippy -
Joined: 17 Sep 2003 Posts: 1
|
Posted: Sat Sep 27, 2003 3:36 pm Post subject: |
|
|
If there is an Undefined variable.. then that means your not using it. You can delete it to get rid of that message.. *I think* _________________ FLiPPY_ |
|
Back to top |
|
 |
Moxxnixx -
Joined: 21 Jun 2003 Posts: 1226 Location: Florida
|
Posted: Sun Sep 28, 2003 4:26 pm Post subject: |
|
|
This is what I do for a quick fix.
On the page in question, put this in somewhere:
Code: | error_reporting (E_ERROR | E_WARNING | E_PARSE); |
You can also change your php.ini file (in WINDOWS folder) to hide notices,
but I prefer the above method instead.
Hope that helps.
P.S. - For ref. go to http://us2.php.net/error_reporting |
|
Back to top |
|
 |
|