in reply to Dynamic Settings from Database, $$string help
my %settings; while ((undef, my ($name, $value)) = $sql->fetchrow_array()) { $settings{$name} = $value; }
my %settings; while ((my ($tmp,$name, $value)) = $sql->fetchrow_array()) { $settings{$name}=$value; } $sql->finish(); print $lastlog."\n";
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Dynamic Settings from Database, $$string help
by Joost (Canon) on May 21, 2002 at 13:47 UTC | |
|
Re: Re: Dynamic Settings from Database, $$string help
by dsheroh (Monsignor) on May 21, 2002 at 14:33 UTC |