I have a web page that allows you to click a hyperlink and then it pulls up
data from a Berkley db based on the word(s) that forms the link.

When there are links that have spaces, only the first word of the link is
recognized or used.

Here is the hyperlink that is passed to the page:

  foreach my $word (@val){
        my $display = "Display";
        print "<a
href=\file-scipt.cgi?name=$word&option=$display\>$word</a>";
       print "<br>";
    }


It's used like this at times:

 elsif ($val_type eq "boolean") {
            my $val = $db_list->{$field}->{$name};
            &get_boolean_value($field, $name, $val);
          }


So it passes the hyperlink value $word and that is suppose to query the db.

It works for:
look_for_this_file

but not for:
look for this file


Thanks,
Kevin

Reply via email to