in reply to DBI, quoting and like - SQLite
$name = "kylere'"; my $sql = "SELECT Name FROM $table WHERE Name like ? order by Name"; # ... or order by whatever, it doesn't matter my $ids = $dbh->selectcol_arrayref($sql, undef, "$name%");
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: DBI, quoting and like - SQLite
by castaway (Parson) on Feb 25, 2003 at 09:30 UTC |