note 7686 added to odbc_pconnect
| From: | wls at wwco dot com | Date: | Fri, 11 Aug 2000 11:44:14 +0000 |
| Subject: | note 7686 added to odbc_pconnect | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-1133@lists.php.net to get a copy of this message | ||
I found that using odbc_close($odbchandle) on a connection opened by odbc_pconnect() causes a
warning "not a valid ODBC-Link resource". So you can't just change odbc_connect() to
odbc_pconnect() and expect things to work without warning messages. However, you can use
odbc_close_all() and not get a warning.
http://www.php.net/manual/function.odbc-pconnect.php