“fetch”查询结果


请输入要查询的词条内容:

mysql_fetch_assoc

定义和用法(语法)提示和注释例子定义和用法mysql_fetch_assoc()函数从结果集中取得一行作为关联数组。返回根据从结果集取得的行生成的关联数组,如果没有更多行,则返回false。语法mysql_fetch_assoc(data)参数 描述data 必需。要使用的数据指针。该数据指针是从mysql_query()返回的结果。提示和注释注释:mysql_fetch_assoc()和用mys 详情>>

mysql_fetch_assoc mysql fetch assoc


mysql_fetch_field

mysql_fetch_field(PHP3,PHP4)mysql_fetch_field--从结果集中取得列信息并作为对象返回说明objectmysql_fetch_field(resourceresult[,intfield_offset])返回一个包含字段信息的对象。mysql_fetch_field()可以用来从某个查询结果中取得字段的信息。如果没有指定字段偏移量,则下一个尚未被mysql 详情>>

mysql_fetch_field mysql fetch field


mysql_fetch_object

(PHP3,PHP4,PHP5)mysql_fetch_object--从结果集中取得一行作为对象说明objectmysql_fetch_object(resourceresult)返回根据所取得的行生成的对象,如果没有更多行则返回FALSE。mysql_fetch_object()和mysql_fetch_array()类似,只有一点区别-返回一个对象而不是数组。间接地也意味着只能通过字段名来访 详情>>

mysql_fetch_object mysql fetch object


ora_fetch_into

ora_fetch_into描述ora_fetch_into()例子ora_fetch_into(PHP3,PHP4)ora_fetch_into--将一行数据放入数组描述intora_fetch_into(resourcecursor,arrayresult[,intflags])取得一行数据并将它放入到一个数组中。参数flags有两个标志值:如果设置ORA_FETCHINTO_NULLS标志, 详情>>

ora_fetch_into ora fetch into


pg_fetch_all

pg_fetch_all说明pg_fetch_all()例子pg_fetch_all(PHP4>=4.3.0)pg_fetch_all--从结果中提取所有行作为一个数组说明arraypg_fetch_all(resourceresult)pg_fetch_all()从结果资源中返回一个包含有所有的行(元组/记录)的数组。如果没有更多行可供提取,则返回FALSE。pg_fetch_all()例 详情>>

pg_fetch_all pg fetch all


pg_fetch_array

pg_fetch_array说明pg_fetch_array(PHP3>=3.0.1,PHP4)pg_fetch_array--提取一行作为数组说明arraypg_fetch_array(resourceresult[,introw[,intresult_type]])pg_fetch_array()返回一个与所提取的行(元组/记录)相一致的数组。如果没有更多行可供提取,则返回FALSE。p 详情>>

pg_fetch_array pg fetch array


pg_fetch_assoc

pg_fetch_assoc说明pg_fetch_assoc()例子pg_fetch_assoc(PHP4>=4.3.0)pg_fetch_assoc--提取一行作为关联数组说明arraypg_fetch_assoc(resourceresult[,introw])pg_fetch_assoc()和调用pg_fetch_array()加上第三个可选参数PGSQL_ASSOC是等价的。它只返回 详情>>

pg_fetch_assoc pg fetch assoc


pg_fetch_object

pg_fetch_object说明注:pg_fetch_object(PHP3>=3.0.1,PHP4)pg_fetch_object--提取一行作为对象说明objectpg_fetch_object(resourceresult[,introw[,intresult_type]])pg_fetch_object()返回与所提取行的属性相一致的一个对象。如果出错或者没有更多行可供提取时则返回 详情>>

pg_fetch_object pg fetch object


pg_fetch_result

pg_fetch_result说明pg_fetch_result(PHP4>=4.2.0)pg_fetch_result--从结果资源中返回值说明mixedpg_fetch_result(resourceresult,introw,mixedfield)pg_fetch_result()根据由pg_query()返回的result资源返回相应的值。row为整型数。field为字段名(字符串) 详情>>

pg_fetch_result pg fetch result


pg_fetch_row

pg_fetch_row说明pg_fetch_row()例子注:pg_fetch_row(PHP3>=3.0.1,PHP4)pg_fetch_row--提取一行作为枚举数组说明arraypg_fetch_row(resourceresult,introw)pg_fetch_row()根据指定的result资源提取一行数据(记录)作为数组返回。每个得到的列依次存放在数组中,从偏移量0开始。返回 详情>>

pg_fetch_row pg fetch row


@@fetch_status

概述实例概述@@fetch_status是MSSQL的一个全局变量其值有以下三种,分别表示三种不同含义:【返回类型integer】0FETCH语句成功-1FETCH语句失败或此行不在结果集中-2被提取的行不存在@@fetch_status值的改变是通过fetchnextfrom实现的“FETCHNEXTFROMCursor”实例:下面的示例用@@FETCH_STATUS控制在一个WHILE循环中的 详情>>

fetch_status fetch status


mysql_fetch_array

简介示例(相同字段名的查询mysql_fetch_array使用MYSQL_NUMmysql_fetch_array使用MYSQL_ASSOCmysql_fetch_array使用MYSQL_BOTH)简介mysql_fetch_array()是mysql_fetch_row()的扩展版本。除了将数据以数字索引方式储存在数组中之外,还可以将数据作为关联索引储存,用字段名作为键名。如果结果中的两个或 详情>>

mysql_fetch_array mysql fetch array


mysql_fetch_lengths

说明例子mysql_fetch_lengths(PHP3,PHP4,PHP5)mysql_fetch_lengths--取得结果集中每个输出的长度定义和用法mysql_fetch_lengths()函数取得一行中每个字段的内容的长度。行是由这些函数返回的:mysql_fetch_array()、mysql_fetch_assoc()、mysql_fetch_object()或mysql_fetch 详情>>

mysql_fetch_lengths mysql fetch lengths


mysql_fetch_row

MYSQL_ROWmysql_fetch_row(MYSQL_RES*result)检索一个结果集合的下一行。当在mysql_store_result()之后使用时,如果没有更多的行可检索时,mysql_fetch_row()返回NULL。当在mysql_use_result()之后使用时,当没有更多的行可检索时或如果出现一个错误,mysql_fetch_row()返回NULL。在行中值的数量由m 详情>>

mysql_fetch_row mysql fetch row