Php/docs/function.ibase-prepare

来自菜鸟教程
机器人讨论 | 贡献2020年12月10日 (四) 15:00的版本 (autoload)
(差异) ←上一版本 | 最后版本 (差异) | 下一版本→ (差异)
跳转至:导航、​搜索

ibase_prepare

(PHP 5, PHP 7 < 7.4.0)

ibase_preparePrepare a query for later binding of parameter placeholders and execution


说明

ibase_prepare ( string $query ) : resource

ibase_prepare ( resource $link_identifier , string $query ) : resource

ibase_prepare ( resource $link_identifier , string $trans , string $query ) : resource

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


参数

query
An InterBase query.
link_identifier
An InterBase link identifier returned from ibase_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.


返回值

Returns a prepared query handle, or false on error.