Stack Exchange network consists of 183 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
use an abstraction library like Pear MDB2 for your database connection.
This abstracts all the connection logic away from your code, so should ever change your database (mysql to SQLite,etc) you won't have to change your code.
This abstracts all the connection logic away from your code, so should ever change your database (mysql to SQLite,etc) you won't have to change your code.
use an abstraction library like Pear MDB2 for your database connection.
This abstracts all the connection logic away from your code, so should ever change your database (mysql to SQLite,etc) you won't have to change your code.
This abstracts all the connection logic away from your code, so should ever change your database (mysql to SQLite,etc) you won't have to change your code.