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

SQL Anywhere 11.0.1 (Français) » SQL Anywhere Server - Programming » SQL Anywhere Data Access APIs » SQL Anywhere PHP API » SQL Anywhere PHP API reference

 

sasql_stmt_field_count

Prototype
int sasql_stmt_field_count( sasql_stmt $stmt )
Description

This function returns the number of columns in the result set of the statement.

Parameters

$stmt   A statement resource.

Returns

The number of columns in the result of the statement. If the statement does not return a result, it returns 0.

Related functions