05-12-2011, 11:45 AM
[eluser]Ken Verhaegen[/eluser]
Here's a question:
Is CI using PDO or regular (old) connection methods to connect to a database?
PDO = PHP Data Objects
A multiple use (not just one database connection), faster and easier way to connect to any database where there's a driver for available.
PHP had it for some time available, but since PHPv5.1 it's activated from start.
I didn't even care to look for it myself in the CI package,
that's why I'm asking here, and maybe the answer is a better source of information for newer users.
Good little tutorials from net.Tuts: Why you should use PDO to connect to a database.
Here's a question:
Is CI using PDO or regular (old) connection methods to connect to a database?
PDO = PHP Data Objects
A multiple use (not just one database connection), faster and easier way to connect to any database where there's a driver for available.
PHP had it for some time available, but since PHPv5.1 it's activated from start.
I didn't even care to look for it myself in the CI package,
that's why I'm asking here, and maybe the answer is a better source of information for newer users.
Good little tutorials from net.Tuts: Why you should use PDO to connect to a database.