English | 简体中文 | 繁體中文 | Русский язык | Français | Español | Português | Deutsch | 日本語 | 한국어 | Italiano | بالعربية

Basic PHP Tutorial

Advanced PHP Tutorial

PHP & MySQL

PHP Reference Manual

Usage and Examples of PHP odbc_data_source() Function

PHP ODBC Reference Manual

The odbc_data_source() function returns information about the current connection.

Syntax

array odbc_data_source ( resource $connection_id , int $fetch_type )

Definition and Usage

It returns information about the current connection

Return Value

If successful, it will return an array; otherwise, it will return false.

Parameter

Serial NumberParameters and Description
1

connection_id

It contains information about the connection ID

2

fetch_type

It contains information about obtaining ID

PHP ODBC Reference Manual