php man page for ibase_name_result

Query: ibase_name_result

OS: php

Section: 3

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

IBASE_NAME_RESULT(3)							 1						      IBASE_NAME_RESULT(3)

ibase_name_result - Assigns a name to a result set

SYNOPSIS
bool ibase_name_result (resource $result, string $name)
DESCRIPTION
This function assigns a name to a result set. This name can be used later in UPDATE|DELETE ... WHERE CURRENT OF $name statements.
PARAMETERS
o $result - An InterBase result set. o $name - The name to be assigned.
RETURN VALUES
Returns TRUE on success or FALSE on failure.
EXAMPLES
Example #1 ibase_name_result(3) example <?php $result = ibase_query("SELECT field1,field2 FROM table FOR UPDATE"); ibase_name_result($result, "my_cursor"); $updateqry = ibase_prepare("UPDATE table SET field2 = ? WHERE CURRENT OF my_cursor"); for ($i = 0; ibase_fetch_row($result); ++$i) { ibase_execute($updateqry, $i); } ?>
SEE ALSO
ibase_prepare(3), ibase_execute(3). PHP Documentation Group IBASE_NAME_RESULT(3)
Related Man Pages
mssql_free_result(3) - php
cubrid_query(3) - php
fbsql_num_rows(3) - php
ibase_query(3) - php
maxdb_affected_rows(3) - php
Similar Topics in the Unix Linux Community
Simple rules of the UNIX.COM forums:
User Guide: Posting in the Emergency Forum
Forum Video Tutorial: How to Use Code Tags
The Order of the Wizard's Hat - Lifetime Achievement Award 2019 - Congrats to Don Cragun