php man page for ingres_fetch_row

Query: ingres_fetch_row

OS: php

Section: 3

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

INGRES_FETCH_ROW(3)							 1						       INGRES_FETCH_ROW(3)

ingres_fetch_row - Fetch a row of result into an enumerated array

SYNOPSIS
array ingres_fetch_row (resource $result)
DESCRIPTION
ingres_fetch_row(3) returns an array that corresponds to the fetched row, or FALSE if there are no more rows. Each result column is stored in an array offset, starting at offset 1. Subsequent calls to ingres_fetch_row(3) return the next row in the result set, or FALSE if there are no more rows. By default, arrays created by ingres_fetch_row(3) start from position 1 and not 0 as with other DBMS extensions. The starting position can be adjusted to 0 using the configuration parameter ingres.array_index_start. Note Related Configurations See also the ingres.array_index_start, ingres.fetch_buffer_size and ingres.utf8 directives in Runtime Configuration.
PARAMETERS
o $result - The query result identifier
RETURN VALUES
Returns an array that corresponds to the fetched row, or FALSE if there are no more rows
EXAMPLES
Example #1 Fetch a row of result into an enumerated array <?php $link = ingres_connect($database, $user, $password); $result = ingres_query($link, "select * from table"); while ($row = ingres_fetch_row($result)) { echo $row[1]; echo $row[2]; } ?>
SEE ALSO
ingres_num_fields(3), ingres_query(3), ingres_fetch_array(3), ingres_fetch_assoc(3), ingres_fetch_object(3). PHP Documentation Group INGRES_FETCH_ROW(3)
Related Man Pages
ingres_execute(3) - php
ingres_fetch_assoc(3) - php
ingres_field_precision(3) - php
ingres_field_scale(3) - php
ingres_result_seek(3) - php
Similar Topics in the Unix Linux Community
Changing the column for a row in a text file and adding another row
select distinct row from a file
Insert rows with computations of next row
Search row by row from one file to another file if match is found print few colums of file 2
Egrep find word that occurs twice in a row