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
mysql_num_rows(3) - php
cubrid_num_rows(3) - php
cubrid_data_seek(3) - php
fbsql_num_rows(3) - php
pg_result_seek(3) - php
Similar Topics in the Unix Linux Community
New Code Tags (Syntax Highlighting)
Please Welcome Don Cragun as Lead Moderator
Status of UNIX.COM Forum Transformation
Please Welcome Ravinder Singh to the Moderation Team
Please Welcome Nicki Paul to the Moderator Team!