PHP: Hypertext Preprocessor (original) (raw)

ibase_prepare

(PHP 5, PHP 7 < 7.4.0)

ibase_prepare — Prepare a query for later binding of parameter placeholders and execution

Description

Prepare a query for later binding of parameter placeholders and execution (via ibase_execute()).

Parameters

query

An InterBase query.

link_identifier

An InterBase link identifier returned fromibase_connect(). If omitted, the last opened link is assumed.

trans

An InterBase transaction handle the query should be associated with. If omitted, the default transaction of the connection is assumed.

Return Values

Returns a prepared query handle, or [false](reserved.constants.php#constant.false) on error.