my $input = param('input'); #or however you're getting it chomp $input; #any other processing to deal with unwanted characters my $sth = $dbh->prepare("SELECT someFields FROM mytable WHERE myqualif +ier LIKE ?"); $sth->execute("$input*");
In reply to Re: Re: variable substitution using Like in DBI
by menolly
in thread variable substitution using Like in DBI
by Grygonos
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |