note 16427 deleted from function.pg-connect by yohgaki
| From: | yohgaki@php.net | Date: | Fri, 07 Dec 2001 12:05:52 +0000 |
| Subject: | note 16427 deleted from function.pg-connect by yohgaki | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-21861@lists.php.net to get a copy of this message | ||
Odd... Thought I'd post in case anyone else has similar problems... I was using $conn =
pg_connect(...) and calling it multiple times... Worked fine in php3, but when i ran it in php4
(4.0.3pl1 to be precise), I had errors about the index being invalid (ie. $conn was invalid after 1
usage)...
So i used $con=pg_pconnect() (and pg_close($conn)at the end of the script) and it's now working
fine...