News Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

NETTUTS.com:
Why you Should be using PHP's PDO for Database Access
May 27, 2010 @ 08:56:48

According to this latest tutorial from NETTUTS.com, you should be using PHP's PDO database access layer to interact with your database of choice.

Many PHP programmers learned how to access databases by using either the mysql or mysqli extensions. Since PHP 5.1, there's been a better way. PHP Data Objects (PDO) provide methods for prepared statements and working with objects that will make you far more productive!

The introduce what PDO is, what kind of databases it supports and, of course, some code to get you started in connecting your application to the backend. They show how to handle exceptions, how to use placeholders, and performing inserts and selects on your data.

1 comment voice your opinion now!
pdo database access tutorial layer


blog comments powered by Disqus

Similar Posts

HowTo Forge: Installing And Working With Xoops Under Ubuntu 6.10

NetTuts.com: Deploying a Laravel Application Using Capistrano

Abou Kone's Blog: Set up JSON action output in CakePHP 1.3

onPHP5.com: Clickable, Obfuscated Email Addresses

Wez Furlong\'s Blog: I\'ve arrived at Forum PHP


Community Events





Don't see your event here?
Let us know!


version update introduction release podcast language package library opinion framework voicesoftheelephpant symfony community security tool mvc series composer laravel interview

All content copyright, 2014 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework