Re: DB: persistent connections
| From: | Peter Erickson | Date: | Mon, 16 Dec 2002 15:57:48 +0000 |
| Subject: | Re: DB: persistent connections | ||
| References: | 1 2 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-2991@lists.php.net to get a copy of this message | ||
Im an idiot. I must have glanced right over this one. Thanks.
"Alan Richmond" <arichmond@bigfoot.com> wrote in message
news:PPEAKIAOBHGHBOIFNCKLOEEMDGAA.arichmond@bigfoot.com...
>
> ]Does using the pear module suffer
> ]from not having persistent connections?
>
> No, just add a true to the connect:
> $conn = DB::connect($dsn, true);
>
> Here's to page with the documentation:
> http://pear.php.net/manual/en/core.db.tut_connect.php
>
> HTH,
> Alan