News Feed
Jobs Feed
Sections




News Archive
CodePoets.co.uk:
How to use PHP and PEAR MDB2 (Tutorial)
June 07, 2007 @ 13:56:00

On CodePoets.co.uk, there's a new tutorial posted by David Goodwin showing how to use PHP with the PEAR MDB2 component to access your database backend.

While writing some PHP Training materials for Pale Purple, I thought I'd add an updated guide on PHP and database access. I've already done one on PEAR::DB, but PEAR::MDB2 is it's successor and has a slightly different API.... and as PEAR::DB is now deprecated, it's probably about time I rewrote it anyway.

David looks at what the MDB2 package is, how to install it, connecting to your database and including some error handling as well. He (thankfully) also touches on one of the most handy features of the package - the prepared statements and the security they can offer.

0 comments voice your opinion now!
pear component mdb2 database tutorial security preparedstatement pear component mdb2 database tutorial security preparedstatement


blog comments powered by Disqus

Similar Posts

PurpleRockScissors.com: Avoiding Cache Stampedes with Pseudo-Locks

DevShed: Manipulating String Literals with Interpreter Classes in PHP 5

PHPMac.com: Building and Installing Apache 2.2.2 and PHP 5.1.3 (or 5.1.4) on Mac OS X 10.4.6

PHPMag.ru: Zend Framework: models auto-loading

PHPClasses.org: PHP Object-Relational Mapping: ORM or ROM?


Community Events











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


series zendframework2 community podcast phpunit functional development api testing code framework interview release language opinion example unittest introduction database composer

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