Re: Re: Reusing MySQL Connections - Can it be done?
| From: | Justin Patrin | Date: | Tue, 06 Apr 2004 16:36:19 +0000 |
| Subject: | Re: Re: Reusing MySQL Connections - Can it be done? | ||
| References: | 1 2 3 4 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-182497@lists.php.net to get a copy of this message | ||
Red Wingate wrote:
[...]I was asking for the exact line of code... -- paperCrane <Justin Patrin>[...]I tried this, but, same results. If I store the Resource ID from a mysql_pconnect() in $GLOBALS['_CONNECT_DB'] and then call... mysql_query($query, $GLOBALS['_CONNECT_DB']);How are you setting the global?[...] I guess he said he is using $GLOBALS['_CONNECT_DB'] :-p