in reply to Registration Error

What's confusing me is this code
sub generate_id { do { $accountID = join '', map { $chars[ rand @chars ] } 1..17; } while grep {$_ eq $ID} my @used; print $ID;
which generates the $accountID and then this
$dbm1{$form{'usermail'}} = "$ID";
Should $ID be $accountID
poj

Replies are listed 'Best First'.
Re: Re: Registration Error
by sulfericacid (Deacon) on Mar 06, 2003 at 20:04 UTC
    I think you're right and I changed $ID to $accountID but that wasn't the problem. $ID actually contained their registration number, I just had to rename ID to accountID to get the variables to work.

    "Age is nothing more than an inaccurate number bestowed upon us at birth as just another means for others to judge and classify us"

    sulfericacid