Hey
Use error_reporting = E_ALL & ~E_NOTICE
that will display all errors except notices, I use if statements in a lot of
my pages and if one of the variables in the if statement doesnt get defined,
which some of them are ment to not get defined if a certain other variable
is already define, so you may have all of your PHP syntax ok but still
getting the notice. Hope this helps.

- Lee

"R B" <[EMAIL PROTECTED]> wrote in message
news:F71fyz5b6KZmcK8r6be00000044@;hotmail.com...
> When i set display_errors = On and error_reporting  =  E_ALL in my
php.ini,
> i get the next message for each variable that i use in the script:
> "Notice: Use of undefined constant varname ....."
>
> How is the best solution for this problem, setting error_reporting  =
E_ALL
> & ~E_NOTICE or other method?
>
> Thanks,
>
> RB
>
>
>
>
> _________________________________________________________________
> Charla con tus amigos en línea mediante MSN Messenger:
> http://messenger.microsoft.com/es
>



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to