while (my $row = $sth->fetchrow_hashref) {
$row->{item} = HTML::Entities::encode($row->{item},' <>&"');
$row->{display} = HTML::Entities::encode($row->{display},'<>&"');
while (my $row = $sth->fetchrow_hashref) {
$row->{item} = HTML::Entities::encode($row->{item},' <>&"');
$row->{display} = HTML::Entities::encode($row->{display},'<>&"');