How to insert new row using PHP in SQLITE in table /var/drk.db and to get generated id ( id is autoincrement primary key in drk table ) ? I looked at http://php.net/manual/en/sqlite3.open.php but there is no closing connection. Can someone show me, I don’t have experience with SQLite.
Share
See
SQLite3::lastInsertRowID().Also, PDO might be a better choice for you.