©
이 문서에서는 PHP 중국어 웹사이트 매뉴얼 풀어 주다
(PHP 5)
ibase_prepare — Prepare a query for later binding of parameter placeholders and execution
$query
)$link_identifier
, string $query
)$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.
[#1] 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'];
}