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

search for in the

ingres_errno> <ingres_connect
[edit] Last updated: Fri, 25 May 2012

view this page in

ingres_cursor

(PECL ingres >= 1.1.0)

ingres_cursor指定した結果リソースのカーソル名を取得する

説明

string ingres_cursor ( resource $result )

アクティブなカーソルの名前を文字列で返します。 アクティブなカーソルがない場合は NULL を返します。

パラメータ

result

クエリ結果 ID。

返り値

アクティブなカーソルの名前を含む文字列を返します。 アクティブなカーソルがない場合は NULL が返されます。

例1 クエリリソースのカーソル名の取得

<?php
$link 
ingres_connect($database$user$password);

$result ingres_prepare($link"select * from table");

$cursor_name ingres_cursor($result);

echo 
$cursor_name;

?>

参考



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

 
show source | credits | stats | sitemap | contact | advertising | mirror sites