Return keys from $db->DataHash directly into an array
am 16.09.2007 17:56:40 von dtsheddIs there anyway to pass just the keys of a data hash directly into an
array or is it necessary to do something like this?
$db->Sql("SELECT * FROM Groups");
$db->FetchRow();
%hash = $db->DataHash;
foreach $key (keys %hash) {
@fields[$i]=$key;
print "my field $fields[$i]\n";
$i++;
}
TIA
dan