my $sth = $dbh->prepare( "select * from clients where name like ?" ); $sth->execute($name) or die "Whoops!"
That should be $sth->execute("%$name%") or somesuch use of wildcards in the execute.
In reply to Re^2: Database Search
by jZed
in thread Database Search
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |