I needed to have a products page displayed for each product returned by
the script, instead of a table where each line is one record. This hack
is where I simply moved the statements to print the fields. The numbers
in $fields[0] refer to the numbers corresponding to the field named at
the beginning of the setup file. The script is being used at
http://egifts.cen-trex.com/