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_prepare() function

PHP ODBC Reference Manual

The odbc_prepare() function prepares the statement to be executed

Syntax

resource odbc_prepare ( resource $connection_id , string $query_string )

Definition and usage

It is used to prepare the execution statement

Return value

If the SQL preparation is successful, it will return the odbc result identifier, otherwise it will display 0

Parameter

Serial numberParameters and descriptions
1

connection_id

ODBC connection identifier

2

query_string

Prepare query string statement

PHP ODBC Reference Manual