Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
PHP: ifx_do - Manual
[go: Go Back, main page]

PHP
downloads | documentation | faq | getting help | mailing lists | reporting bugs | php.net sites | links | conferences | my php.net

search for in the

ifx_error" width="11" height="7"/> <ifx_create_char
Last updated: Sun, 23 Sep 2007

view this page in

ifx_do

(No version information available, might be only in CVS)

ifx_do — 事前に準備された SQL 文を実行する

説明

bool ifx_do ( resource $result_id )

事前に準備されたクエリを実行し、カーソルをオープンします。

エラーの際に、result_id を解放しないでください。

select 文でない場合に、ifx_affected_rows() に数を設定します。 これは、ifx_affected_rows() で取得可能です。

パラメータ

result_id

result_id は、 ifx_query() あるいは ifx_prepare() が返す有効な結果 ID です (select 型のクエリのみです!)。

返り値

成功した場合に TRUE を、失敗した場合に FALSE を返します。

参考

例 1056. ifx_do() の例

<?php
$conn
= fx_connect( "db", "user", "password" );
$result = ifx_prepare("SELECT customer_num, company FROM customer", $conn);
ifx_do($result);
?>

参考

ifx_prepare()



add a note add a note User Contributed Notes
ifx_do
There are no user contributed notes for this page.

ifx_error" width="11" height="7"/> <ifx_create_char
Last updated: Sun, 23 Sep 2007
 
 
show source | credits | sitemap | contact | advertising | mirror sites