Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.

SQL Anywhere 11.0.1 (中文) » SQL Anywhere 服务器 - 编程 » SQL Anywhere 数据访问 API » SQL Anywhere PHP API » SQL Anywhere PHP API 参考

 

sasql_fetch_assoc

原型
array sasql_fetch_assoc( sasql_result $result )
说明

从结果集中读取一行作为联合数组。

参数

$result   由 sasql_query 函数返回的结果资源。

返回值

代表从结果集中读取的行的字符串的联合数组,数组中的各个关键字代表结果集中的一个列的名称或 FALSE(如果结果集中不再有行)。

相关函数