in reply to Re^2: Querying an existing sqlite DB on a remote machine
in thread Querying an existing sqlite DB on a remote machine
$db_handler = DBI->connect("dbi:SQLite:dbname=$dbfile","","") or die " +Unable to connect: $DBI::errstr\n"; $a_query = "SELECT * FROM $tablename where user_name=\"Psibond\""; $res = $db_handler->prepare($a_query); $res->execute(); $row = $res->fetch;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: Querying an existing sqlite DB on a remote machine
by Corion (Patriarch) on Jan 28, 2010 at 08:54 UTC |