From:             [EMAIL PROTECTED]
Operating system: GNU Linux
PHP version:      4.0.6
PHP Bug Type:     MySQL related
Bug description:  not valid mysql ressource

$eLink = mysql_connect(...);
.
.
.

class test {

  function einTest() {
    $eLink = mysql_connect();
    mysql_close($eLink);
  }

}

$aVar = new test();
$aVar->einTest();
mysql_query("...",$eLink);

-----> not valid mysql ressource

After einTest() it looks like it closes the outside mysql_connection
($eLink) no matter how the connection
var in einTest() is named!

Serious stuff!

-- 
Edit bug report at: http://bugs.php.net/?id=12432&edit=1


-- 
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]

Reply via email to