* Thus wrote Martin Peck ([EMAIL PROTECTED]):
> > > That can generate an error if $Task was never assigned a value.
> > >
> >
> > could you not do
> >
> > if(@$Task == "Add" ){do something }
> >
> > to suppress the error of the variable not being set?
> 
> I have never seen php give an error if $Task is not set to anything.  I
> would have said that

your error_reporting level doesnt have E_NOTICE set.


Curt
-- 
"I used to think I was indecisive, but now I'm not so sure."

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

Reply via email to