ODBC.connect
About
How to connect to an ODBC database
Click here to expand Table of Contents
- 1 Usage
- 1.1 Return value
- 1.2 Example
- 2 See Also
Usage
Connect to an ODBC database.
Return value
- true - Successfully connected to database
- false - Connect failed, check DSN settings.
Example
use("ODBC");
var db = new ODBC("dsnName", "username", "password");
db.connect();