News Feed
Sections




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

Stoyan Stefanov's Blog:
Reusing an existing database connection with MDB2
January 08, 2007 @ 12:33:00

In this new blog post, Stoyan Stefanov shares a method he's found to reuse an existing database connection with the MDB2 library.

This is a follow up to a question posted by Sam in my DB-2-MDB2 post. The question was if you can reuse an exisitng database connection you've already established and not have MDB2 creating a second connection.

He gives two different methods, one for persistent connections and the other for non-persistent ones - including some code.

0 comments voice your opinion now!
mdb2 reuse connection persistent database method existing mdb2 reuse connection persistent database method existing


blog comments powered by Disqus

Similar Posts

Zend Developer Zone: Paging Data Sets With PEAR Pager

Derick Rethans' Blog: Distributions: Please Don't Cripple PHP or Red Hat: Stop Fucking Around

MaltBlue.com: Zend Framework 2 - Hydrators, Models and the TableGateway Pattern

Stoyan Stefanov's Blog: Reusing an existing database connection with MDB2

Brent Meshier's Blog: Blocking visitors by country using PHP & MySQL


Community Events





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


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

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