Jump to content

SQLite3 class in PHP 5.3


Tibaso

Recommended Posts

No, I am not confused, PHP 5.3 introduced the new class SQLite3:

 

http://php.net/manual/de/book.sqlite3.php

 

I am working already for quite a while with PDO and sqlite3 but now I was reading about the new php class SQLite3 and it works almost the same like PDO except it is only for SQLite3 databases and can not wrap other databases. So since at the moment I am writing an application that uses only sqlite, I am wondering if there is any advantages to use SQLite3 instead of PDO.

 

 

Link to comment
Share on other sites

Does noone know what the new class SQLite3 is for?

 

Accessing Sqlite3. Just like any database, there is usually a interface provided besides what PDO might provide.

 

It would however be more beneficial to stick with PDO, as it will make changing databases in the future (if need be) allot easier.

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.