• PHP Video Tutorials

PHP - Function connect



Syntax

resource odbc_connect ( string $dsn , string $user , string $password [, int $cursor_type ] )

Definition and Usage

It is used to connect odbc data source

Return Values

It returns an ODBC connection on success or else false on failure.

Parameters

Sr.No Parameters & Description
1

dsn

it contains information about the database source name for the connections

2

user

it contains information about the user

3

password

it contains information about password

4

cursor_type

it sets the type of cursor to be used for ODBC connections

php_function_reference.htm
Advertisements