in reply to Re: Database Search
in thread Database Search
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.
|
|---|