odbc_fetch_intoPodręcznik PHPPoprzedniNastępnyodbc_fetch_into (PHP 3>= 3.0.6, PHP 4 >= 4.0.0)odbc_fetch_into -- Fetch one result row into arrayDescriptionint odbc_fetch_into ( int 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.
Przykład 1. odbc_fetch_into() pre 4.0.6 example $rc = odbc_fetch_into($res_id, $my_array);
or
$rc = odbc_fetch_into($res_id, $row, $my_array);
$rc = odbc_fetch_into($res_id, 1, $my_array);
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.
Przykład 2. odbc_fetch_into() 4.0.6 example$rc = odbc_fetch_into($res_id, $my_array);
or
$row = 1;
$rc = odbc_fetch_into($res_id, $row, $my_array);
Future: In PHP 4.1, this function will be moved to the following
format:
int odbc_fetch_into ( int result_id, array result_array [, int rownumber])
Please note, that rownumber will be optional,
while result_array is not.
PoprzedniSpis treściNastępnyodbc_executePoczątek rozdziałuodbc_fetch_row
Wyszukiwarka
Podobne podstrony:
function odbc fetch intofunction odbc fetch intofunction odbc fetch rowfunction ovrimos fetch intofunction odbc fetch rowfunction ora fetch intofunction ora fetch intofunction odbc fetch rowfunction odbc fetch rowfunction odbc fetch arrayfunction xml parse into structfunction pg fetch objectwięcej podobnych podstron