Re: [PHP-DB] About MySQL connections

2001-03-08 Thread Lasse Laurila
>From the PHP documention: "First, when connecting, the function would first try to find a (persistent) link that's already open with the same host, username and password. If one is found, an identifier for it will be returned instead of opening a new connection." According to this, and my own e

RE: [PHP-DB] About MySQL connections

2001-03-08 Thread Rick Emery
mysql_pconnect() opens a persistent connection, that is, one that remains open for the duration of you session. Therefore, you don't need to re-open it. Either that, or you can use mysql_connect() to open a non-persistent connection. -Original Message- From: Rosen [mailto:[EMAIL PROTECT