ADOdb Library for PHP Manual
Prev NConnect Next

NConnect($host,[$user],[$password],[$database])

Always force new connection. In contrast, PHP sometimes reuses connections when you use Connect() or PConnect(). Currently works only on mysql (PHP 4.3.0 or later),postgresql and oci8-derived drivers. For other drivers, NConnect() works like Connect().

IsConnected()

Return true if connected to database.


Prev Home Next
Connect Up Execute

Sponsored by phpLens