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