in reply to DBI Question
You can do this:
$sth = $dbh->prepare("SELECT name FROM people WHERE name LIKE ?"); $sth->execute('%foo%');
Just, remember, as I said in chatterbox, to escape the wildcard character '%'.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: DBI Question
by dsb (Chaplain) on Jan 17, 2001 at 03:13 UTC | |
by jreades (Friar) on Jan 17, 2001 at 03:15 UTC | |
by dsb (Chaplain) on Jan 17, 2001 at 03:35 UTC |