Hi Ive rewrote my sqlite code to sqlite3 and im stuck on this one line...
if(sqlite_num_rows($result) == 0) { exit; }
I just want the script to terminate if the DB is empty. Would I use SQLite3::querySingle and how would that be written. Cheers
There are some user notes on the manual page for [man]class.sqlite3.result[/man] that may help.