in reply to Database not storing data

Shouldn't
$dbm{'verified'} = "$accountAD";
be something like:
$dbm{$accountID} = $accountAD;
So you're not overwriting the same hash item each time?

rdfield

Replies are listed 'Best First'.
Re: Re: Database not storing data
by sulfericacid (Deacon) on Feb 13, 2003 at 10:09 UTC
    I didn't realise I was writing over data because of $dbm{'verified'}. Now when I think about it a million values of

    verified => 1
    verified => 2
    verified => 3

    wouldn't really work like I expected. And you're right, that was the problem. Thanks for your help!!

    "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