in reply to Re: Re: Re: Re: Database issues
in thread Database issues
But you're not setting with the actual value of the email field that has been passed. You're setting the key to the value 'email', instead of an email address, thus producing%hash = ( # george is added 'george@host.com' => 'george', ); %hash = ( # bill is added 'george@host.com' => 'george', 'bill@company.net' => 'bill', );
The outcome is that they're names are overwritten, because you're accessing the field by the same key, which is 'email', instead of $email, they're addresses.%hash = ( # george is added 'email' => 'george', ); %hash = ( # bill is added 'email' => 'bill', );
$this{$email} = $name;
|
|---|