ibase_name_result(3) php man page | unix.com

Man Page: ibase_name_result

Operating Environment: php

Section: 3

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
mysqli_affected_rows(3) - php
mssql_free_result(3) - php
cubrid_unbuffered_query(3) - php
ibase_execute(3) - php
ibase_query(3) - php
Similar Topics in the Unix Linux Community
UNIX.COM 2017 Year End Summary
Please Welcome Don Cragun as Lead Moderator
Status of UNIX.COM Forum Transformation
The Order of the Wizard's Hat - Lifetime Achievement Award 2019 - Congrats to Don Cragun
Denial Of Service Attack Update