News Feed
Jobs Feed
Sections




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

Jeff Moore's Blog:
PDO versus MDB2
December 27, 2006 @ 10:41:00

In the constant pursuit of exploring what else is out there, Jeff Moore took a look at using PDO and MDB2 in some of his scripts and tried it out in a simple test program:

I was just putting together a small test program and I thought I would try using PDO. I really haven't done anything serious with PDO, just try it a couple times. Unfortunately, this didn't work and it took me a few minutes to figure out why. Actually, I still don't know exactly why it doesn't work, but I did find a way to make it work.

He found PDO slightly different to work with than what he was used to so he moved on to MDB2 to see how the same code would fare there. Things worked smoothly there, handling the prepared statements he wanted to use perfectly.

0 comments voice your opinion now!
pdo mdb2 database test prepared statement pdo mdb2 database test prepared statement


blog comments powered by Disqus

Similar Posts

IBM developerWorks: Batch processing in PHP

Xaprb's Blog: Four types of database abstraction layers

PHPit.net: An introduction to Test Driven Development with PHP

Chris Hartjes' Blog: Simple API Testing Using Behat

DevShed: Building an ORM in PHP: Domain Modeling


Community Events











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


release language composer install overview security facebook introduction hack code unittest framework application example podcast symfony2 package opinion component hhvm

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