If I'm not mistaken, SQLite currently only supports one active statement handle at a time. You have $sth2 and $sth active at the same time. I seem to remember that SQLite just won't "do that".
Dave
In reply to Re: Converting from MySQL to SQLite
by davido
in thread Converting from MySQL to SQLite
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |