>I have error's enabled in php.ini.  I keep getting  Undefined variable when
>I run a script that contains IF or ELSE IF's.  Is this normal because the
>variable hasn't been set at the beginning of the script ?

Yes. If the variable hasn't been defined previously you'll get a warning:

if ( $dd > 2) true;

Will warn unless $dd is initialized prior to the if().


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

Reply via email to