
abockover
Deleted
Dec 28, 2000, 6:15 AM
Post #3 of 5
(689 views)
|
The problem with your example [randor] is that the $error will not contain a list of errors, or, lets say that: if($this eq "that") { $error = "ERROR 1\n"; } next in line, we check for: if($that eq "this") { $error = "ERROR 2\n"; } since the second if() statement was found to be true, $error was overwritten and thus its previous value was erased from the first passing of the if() statement above. My goal is to collect a list of errors in one variable, $error. Your example [randor] overwrites previous values. Thanks anyway, Aaron
|