Gossamer Forum
Home : Products : DBMan : Installation :

Another question

Quote Reply
Another question
Hello again,

I don't want to sound stupid, but please explain to me what "Go through each hit and convert the array to hash and send to html_record for printing" is supposed to be or do. I have seen this all over but haven't touched it yet.

------------------
Thank You
Eli Finkelman
Quote Reply
Re: Another question In reply to
Hi eli,

I might not be the best person to explain this but...

Basically, this comment is refering to a piece of the code that looks similar to
%tmp = &array_to_hash($_, @hits);

You are basically taking an array that contains all the data for the records in the search and matching it with the proper field defined in your .cfg file. After this is done you can print the field using your normal $rec{'XXX'}.


Cheers
-JO