Firebird/InterBase 函数
在线手册:中文  英文

ibase_prepare

(PHP 5)

ibase_preparePrepare a query for later binding of parameter placeholders and execution

说明

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

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

参数

query

An InterBase query.

返回值

Returns a prepared query handle, or FALSE on error.


Firebird/InterBase 函数
在线手册:中文  英文

用户评论:

adamson dot ibus at gmail dot com (2012-08-16 01:14:11)

ex.

<?php
$query 
"SELECT * FROM EMPLOYEES";
$p_sql ibase_prepare($query);
$result ibase_execute($p_sql);
while(
$row ibase_fetch_object($result)){
echo 
$row['FIRSTNAME'];
}

易百教程