ID: 7333 Updated by: thies Reported By: [EMAIL PROTECTED] Old-Status: Open Status: Closed Bug Type: PostgreSQL related Assigned To: Comments: believed to be fixed in CVS Previous Comments: --------------------------------------------------------------------------- [2000-10-20 04:44:38] [EMAIL PROTECTED] And so it does in postgressql 7.0.2. --------------------------------------------------------------------------- [2000-10-19 03:57:37] [EMAIL PROTECTED] In order to use posgressql6.5.1,i designed a simple function like this: function sim() {$conn=pg_connect($connoptions); $result=pg_result($conn,"...."); .... pg_freeresult($result); pg_close($conn);} when i use a for() circle to use the function, there's problem. each first time use the funtion, it's ok, but the sencond time, it goes wronglike this: Warning: 1 is not a valid PostgreSQL link resource in .... on line ... and the third time ,It runs well.and the fourth time, mistakes happened again. and so on. I've track the $conn, the resource id are:#1,#1,#7.... When i turned to mysql, thereis no problem. Sorry for my poor english. Regards --------------------------------------------------------------------------- ATTENTION! Do NOT reply to this email! To reply, use the web interface found at http://bugs.php.net/?id=7333&edit=2 -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]