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

search for in the

ingres_field_length> <ingres_fetch_object
Last updated: Fri, 10 Oct 2008

view this page in

ingres_fetch_row

(PHP 4 >= 4.0.2, PHP 5 <= 5.0.5, PECL ingres:1.0-1.4.3)

ingres_fetch_row1 行分の結果を数値添字配列として取得する

説明

array ingres_fetch_row ([ resource $link ] )

ingres_fetch_row() は取得したレコード(行)を有 する配列を返します。レコードがもうない場合は FALSE を返します。各 カラムは、オフセット1から始まる配列オフセットに保存されます。

ingres_fetch_row() を連続的にコールした場合、 結果集合の中の次のレコードが返され、もうレコードがない場合はFALSE を返します。

パラメータ

link

接続リンク ID。省略した場合は、最後にオープンしたリンクを使用します。

返り値

取得したレコード(行)を有する配列を返します。 レコードがもうない場合は FALSE を返します。

例1 ingres_fetch_row() の例

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

ingres_query("select * from table");
while (
$row ingres_fetch_row()) {
    echo 
$row[1];
    echo 
$row[2];
}
?>



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

ingres_field_length> <ingres_fetch_object
Last updated: Fri, 10 Oct 2008
 
 
show source | credits | sitemap | contact | advertising | mirror sites