Gossamer Forum
Home : Products : DBMan : Installation :

Array ---> hash

Quote Reply
Array ---> hash
Hi,

Can anyone tell me how to correctly place the following into a hash and then print that hash (or records within it) out?

$in{'userid'} = $db_userid;
($status, @results) = &query('view');

A want to be able to put @results into a hash, and then print it, or individual records it contains.

Thanks for your help.