You can put a @ in front of you function.  Example

<?
@function("Test");
?>
-----Original Message-----
From: Greg Donald [mailto:[EMAIL PROTECTED]]
Sent: Monday, April 23, 2001 3:05 PM
To: [EMAIL PROTECTED]; Php-General
Subject: RE: [PHP] How to turn off warnings ???



> I am a newbie to PHP and I am trying to get a number of scripts to work.
>
> Whenever I try to execute some code I receive 'warnings', that basically
> clutter up the screen. Since I am assuming that these are not fatal - is
> there  any way to turn them off?
>
> Any help would be appreciated.

The manual details the settings for the php.ini here:
http://www.php.net/manual/en/configuration.php

You may want to alter your error reporting level there, or at the top of
each script as needed.

------------------------------------------------------------------------
destiney - (des-ti-ny) - n. 1. deity of all things "html", 2. common
internet addict, 3. lover of late 80's heavy metal music, 4. Activist
for the terminally un-elite; see also - cool guy, des, mr. php...

It's 4:00am, your web site is still up, why are you?
http://phplinks.org/ http://destiney.com/
------------------------------------------------------------------------


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to