Web студия "GrandView"
  Главная   Написать Контакты
   
   
О проекте
Руководство php
 

ibase_name_result

(PHP 5)

ibase_name_result --  Assigns a name to a result set

Description

bool ibase_name_result ( resource result, string name )

This function assigns a name to a result set. This name can be used later in UPDATE|DELETE ... WHERE CURRENT OF name statements. Возвращает TRUE в случае успешного завершения или FALSE в случае возникновения ошибки.

<?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() and ibase_execute().



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

ibase_num_fields> <ibase_modify_user
Last updated: Sat, 27 Jan 2007
 
 
Новости
11 июля 2007
Сайт запущен
© 2007 info@grandviewstudio.com

Deprecated: Function set_magic_quotes_runtime() is deprecated in /home/sites/grandviewstudiocom/www/65f67d67a94ad980786580ae69e11c07/sape.php on line 324

Deprecated: Function set_magic_quotes_runtime() is deprecated in /home/sites/grandviewstudiocom/www/65f67d67a94ad980786580ae69e11c07/sape.php on line 330
Z058440144362 Z348613067571