П О Р Т А Л                            
С Е Т Е В Ы Х                          
П Р О Е К Т О В                        
  
Поиск по сайту:
                                                 
Главная

О проекте

Web-мастеру
     HTML & JavaScript
     SSI
     Perl
     PHP
     XML & XSLT
     Unix Shell

MySQL

Безопасность

Хостинг

Другое








Самое читаемое:

Учебник PHP - "Для Чайника".
Просмотров 6278 раз(а).

Иллюстрированный самоучитель по созданию сайтов.
Просмотров 8391 раз(а).

Учебник HTML.
Просмотров 5005 раз(а).

Руководство по PHP5.
Просмотров 2158 раз(а).

Хостинг через призму DNS.
Просмотров 7220 раз(а).

Подборка текстов стандартных документов.
Просмотров 3 раз(а).

Учебник PHP - Самоучитель
Просмотров 5305 раз(а).

Документация на MySQL (учебник & справочное руководство)
Просмотров 11457 раз(а).

Внешние атаки...
Просмотров 7668 раз(а).

Учебник PHP.
Просмотров 4406 раз(а).

SSI в примерах.
Просмотров 1297 раз(а).



 
 
| Добавить в избранное | Сделать стартовой | Помощь





Руководство по PHP
Пред. След.

odbc_fetch_into

(PHP 3 >= 3.0.6, PHP 4, PHP 5)

odbc_fetch_into -- Fetch one result row into array

Description

int odbc_fetch_into ( resource result_id, array &result_array [, int rownumber] )

bool odbc_fetch_into ( resource result_id [, int rownumber, array &result_array] )

Returns the number of columns in the result; FALSE on error. result_array must be passed by reference, but it can be of any type since it will be converted to type array. The array will contain the column values starting at array index 0.

As of PHP 4.0.5 the result_array does not need to be passed by reference any longer.

As of PHP 4.0.6 the rownumber cannot be passed as a constant, but rather as a variable.

As of PHP 4.2.0 the result_array and rownumber have been swapped. This allows the rownumber to be a constant again. This change will also be the last one to this function.

Пример 1. odbc_fetch_into() pre 4.0.6 example

<?php
$rc
= odbc_fetch_into($res_id, $my_array);
?>

or

<?php
$rc
= odbc_fetch_into($res_id, $row, $my_array);
       
$rc = odbc_fetch_into($res_id, 1, $my_array);
?>

Пример 2. odbc_fetch_into() 4.0.6 example

<?php
$rc
= odbc_fetch_into($res_id, $my_array);
?>

or

<?php
$row
= 1;
$rc = odbc_fetch_into($res_id, $row, $my_array);
?>

Пример 3. odbc_fetch_into() 4.2.0 example

<?php
$rc
= odbc_fetch_into($res_id, $my_array);
?>

or

<?php
$rc
= odbc_fetch_into($res_id, $my_array, 2);
?>


Пред. Начало След.
odbc_fetch_array Уровень выше odbc_fetch_object


Если Вы не нашли что искали, то рекомендую воспользоваться поиском по сайту:
 





Copyright © 2005-2016 Project.Net.Ru