PHP 8.5.0 Alpha 4 available for testing

Voting

: one plus six?
(Example: nine)

The Note You're Voting On

j_schrab at execpc dot com
24 years ago
Ok, learning time. As I was told by the PHP-DevTeam...


Multiple connections are supported, but when you try to connect with exactly the same parameters, an existing
connection will be reused, leading to the behaviour you see.

You can simply omit the calls to odbc_close() since
connections get closed on script termination anyway or better:
Consider making your connection id a global variable or pass
it to your functions.

<< Back to user notes page

To Top