in reply to DBD::SQLite will connect and CREATE, but not INSERT...sort of
Considering you're getting a syntax error and not using $dbh->quote to quote what you're inserting I'd wager the problem is that you're, well, not giving SQLite valid SQL to execute. Print out $sql before you try and execute it (which should always be the first step you take to diagnose misbehaving DBI problems (well, that and/or turning on tracing on the handle)).
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: DBD::SQLite will connect and CREATE, but not INSERT...sort of
by EvanK (Chaplain) on Apr 23, 2007 at 21:14 UTC | |
by wjw (Priest) on Apr 24, 2007 at 03:18 UTC |