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 descriptions
1

connection_id

It contains information about the connection ID

2

fetch_type

It contains information about obtaining ID

PHP ODBC Reference Manual