> 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? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php